Re: ftp client yet?

2021-10-31 Thread ToddAndMargo via perl6-users
On 10/30/21 19:08, Ralph Mellor wrote: I don't understand what you are thinking. Hi Ralph, That is because I have not made myself clear enough. Or maybe you are trying to expand to something greater than I am asking. That is a hazard when dealing with mensches that love to be helpful: scope

Re: ftp client yet?

2021-10-30 Thread Ralph Mellor
Damn but I'm a sucker for punishment. :) On Sun, Oct 31, 2021 at 12:14 AM ToddAndMargo via perl6-users wrote: > > I think you misunderstand. Fwiw I think you misunderstand. If the penny doesn't begin to drop with this email I think my head will explode. Or maybe my tail. > The code I want to

Re: ftp client yet?

2021-10-30 Thread Ralph Mellor
On Sat, Oct 30, 2021 at 5:03 AM ToddAndMargo via perl6-users wrote: > > I was trying to get the whole thing in Raku. Why are you rejecting the "whole Raku" solutions that have been suggested to you in this thread? Your original questions were: * ftp client yet? * Do we ha

Re: ftp client yet?

2021-10-30 Thread ToddAndMargo via perl6-users
On 10/30/21 10:52, chohag via perl6-users wrote: ToddAndMargo via perl6-users writes: On 10/30/21 02:23, chohag via perl6-users wrote: Which part of the machinery around 'use' and ':from' is not Raku? That is Raku. The code it calls is not. I am trying to convert the code it calls to Raku.

Re: ftp client yet?

2021-10-30 Thread chohag via perl6-users
ToddAndMargo via perl6-users writes: > On 10/30/21 02:23, chohag via perl6-users wrote: > > Which part of the machinery around 'use' and ':from' is not Raku? > > That is Raku. > > The code it calls is not. I am trying to convert the > code it calls to Raku. Why when your computer is already

Re: ftp client yet?

2021-10-30 Thread ToddAndMargo via perl6-users
On 10/30/21 02:23, chohag via perl6-users wrote: ToddAndMargo via perl6-users writes: On 10/29/21 18:42, Ralph Mellor wrote: Hi Raiph, I was trying to get the whole thing in Raku. the "from perl 5" is cool stuff for sure, but I would still be maintaining 90% of the code in perl 5. So it is

Re: ftp client yet?

2021-10-30 Thread chohag via perl6-users
ToddAndMargo via perl6-users writes: > On 10/29/21 18:42, Ralph Mellor wrote: > > Hi Raiph, > > I was trying to get the whole thing in Raku. > the "from perl 5" is cool stuff for sure, but > I would still be maintaining 90% of the code in > perl 5. So it is better just to stay in p5. Which part

Re: ftp client yet?

2021-10-29 Thread ToddAndMargo via perl6-users
On 10/29/21 18:42, Ralph Mellor wrote: On Fri, Oct 29, 2021 at 7:11 AM ToddAndMargo via perl6-users wrote: Which gets back to my original question, which was is there good FTP support from Raku yet? The answer you got from me was: 1. Install Perl's Net::FTP. 2. Write `use Net::FTP:from;`

Re: ftp client yet?

2021-10-29 Thread Ralph Mellor
On Fri, Oct 29, 2021 at 7:11 AM ToddAndMargo via perl6-users wrote: > > Which gets back to my original question, which was > is there good FTP support from Raku yet? The answer you got from me was: 1. Install Perl's Net::FTP. 2. Write `use Net::FTP:from;` in your Raku program. In other words,

Re: ftp client yet?

2021-10-29 Thread ToddAndMargo via perl6-users
On 10/28/21 21:43, Ralph Mellor wrote: On Thu, Oct 28, 2021 at 7:40 PM ToddAndMargo via perl6-users wrote: You would not happen to know how I could directly write to FTP myself with Raku? Yes. 1. Install a library that implements FTP. 2. Use it. The RFC for FTP is pretty easy to follow.

Re: ftp client yet?

2021-10-28 Thread Ralph Mellor
On Thu, Oct 28, 2021 at 7:40 PM ToddAndMargo via perl6-users wrote: > > You would not happen to know how I could directly > write to FTP myself with Raku? Yes. 1. Install a library that implements FTP. 2. Use it. > The RFC for FTP is pretty easy to follow. It's *much* easier to write a `use`

Re: ftp client yet?

2021-10-28 Thread ToddAndMargo via perl6-users
On 10/27/21 05:19, Ralph Mellor wrote: On 10/25/21 22:21, Ralph Mellor wrote: You should be aiming to end up being able to write something like the following three line Raku program: use lib:from 'dir-where-your-new-module-is'; use your-new-module:from; RmdirAndLoop 'junk', 1, 3; And when

Re: ftp client yet?

2021-10-27 Thread Ralph Mellor
> On 10/25/21 22:21, Ralph Mellor wrote: > > > > You should be aiming to end up being able to write > > something like the following three line Raku program: > > > > use lib:from 'dir-where-your-new-module-is'; > > use your-new-module:from; > > RmdirAndLoop 'junk', 1, 3; And when that's working,

Re: ftp client yet?

2021-10-26 Thread Tom Browder
On Tue, Oct 26, 2021 at 00:22 Ralph Mellor wrote: > > This is what the more complicated stuff I am doing. ... And if the code doesn't work because of a newly-found need of a go-between Perl5 and Raku, the author of Inline::Perl5 is very helpful in finding a fix and releasing a new version.

Re: ftp client yet?

2021-10-26 Thread ToddAndMargo via perl6-users
On 10/25/21 22:21, Ralph Mellor wrote: 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

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

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

Re: ftp client yet?

2021-10-22 Thread ToddAndMargo via perl6-users
On 10/22/21 16:20, ToddAndMargo via perl6-users wrote: On 10/22/21 09:22, Brian Duggan wrote: On Thursday, October 21, ToddAndMargo via perl6-users wrote: Do we have a working ftp module yet? There are a few modules that use libcurl, which supports FTP e.g.

Re: ftp client yet?

2021-10-22 Thread ToddAndMargo via perl6-users
On 10/22/21 09:22, Brian Duggan wrote: On Thursday, October 21, ToddAndMargo via perl6-users wrote: Do we have a working ftp module yet? There are a few modules that use libcurl, which supports FTP e.g. https://raku.land/github:CurtTilmes/LibCurl Brian Hi Brian, Thank you. I really

Re: ftp client yet?

2021-10-22 Thread Brian Duggan
On Thursday, October 21, ToddAndMargo via perl6-users wrote: > Do we have a working ftp module yet? There are a few modules that use libcurl, which supports FTP e.g. https://raku.land/github:CurtTilmes/LibCurl Brian

Re: ftp client yet?

2021-10-22 Thread Kevin Pye
https://raku.land/cpan:NINE/Inline::Perl5 On Fri, 22 Oct 2021, at 18:44, ToddAndMargo via perl6-users wrote: >> On Fri, 22 Oct 2021, at 16:18, ToddAndMargo via perl6-users wrote: >>> On 10/21/21 22:03, Kevin Pye wrote: Both modules.raku.org and raku.land know about the Net::FTP module, but

Re: ftp client yet?

2021-10-22 Thread ToddAndMargo via perl6-users
On 10/22/21 00:53, Kevin Pye wrote: https://raku.land/cpan:NINE/Inline::Perl5 Thank you!

Re: ftp client yet?

2021-10-22 Thread ToddAndMargo via perl6-users
On Fri, 22 Oct 2021, at 16:18, ToddAndMargo via perl6-users wrote: On 10/21/21 22:03, Kevin Pye wrote: Both modules.raku.org and raku.land know about the Net::FTP module, but it appears to be rather limited and may not do what you want. Why not just use the Perl Net::FTP? I use that in

Re: ftp client yet?

2021-10-22 Thread Kevin Pye
You can still use the Perl 5 module from Raku without writing any Perl code. It should allow a fairly seamless update to a usable Raku module when one becomes available. On Fri, 22 Oct 2021, at 16:18, ToddAndMargo via perl6-users wrote: > On 10/21/21 22:03, Kevin Pye wrote: >> Both

Re: ftp client yet?

2021-10-21 Thread ToddAndMargo via perl6-users
On 10/21/21 22:03, Kevin Pye wrote: Both modules.raku.org and raku.land know about the Net::FTP module, but it appears to be rather limited and may not do what you want. Why not just use the Perl Net::FTP? I use that in Perl 5. I am trying to divorce myself of Perl 5.

Re: ftp client yet?

2021-10-21 Thread Kevin Pye
Both modules.raku.org and raku.land know about the Net::FTP module, but it appears to be rather limited and may not do what you want. Why not just use the Perl Net::FTP? Kevin. On Fri, 22 Oct 2021, at 15:48, Henrik Peng wrote: > perhaps not from what I had searched for. > > On Fri, Oct 22,

Re: ftp client yet?

2021-10-21 Thread Henrik Peng
perhaps not from what I had searched for. On Fri, Oct 22, 2021 at 11:43 AM ToddAndMargo via perl6-users < perl6-users@perl.org> wrote: > Hi All, > > I have a program in Perl 5 that uses Perl 5's ftp > client. I would dearly love to port it to Raku, > which is much easier to maintain. > > Do we

ftp client yet?

2021-10-21 Thread ToddAndMargo via perl6-users
Hi All, I have a program in Perl 5 that uses Perl 5's ftp client. I would dearly love to port it to Raku, which is much easier to maintain. Do we have a working ftp module yet? Many thanks, -T