Re: ftp client yet?

2021-10-25 Thread Ralph Mellor
> This is what the more complicated stuff I am doing. You can also use *your* Perl code in your Raku code. Just turn your Perl code into a module, making sure to make "public" whatever the module should make public, then `use` it in your Raku code. You should be aiming to end up being able to wr

Re: ftp client yet?

2021-10-25 Thread Ralph Mellor
On Fri, Oct 22, 2021 at 8:45 AM ToddAndMargo via perl6-users wrote: > > >> On 10/21/21 22:03, Kevin Pye wrote: > >>> > >>> Why not just use the Perl Net::FTP? > >> > >> I use that in Perl 5. > >> I am trying to divorce myself of Perl 5. Please consider not divorcing yourself from Perl stuff you k

Re: I need a better regex with a literal in it

2021-10-25 Thread Ralph Mellor
> > You can put any Raku code that produces a string > > into a regex by using the syntax `$(code)`. > > > > my $x ~~ s/ Q[;";] //; > ===SORRY!=== > Unrecognized regex metacharacter ; (must be quoted to match literally) You didn't use the syntax I showed. You need to put your code (in your case