http://qs1969.pair.com?node_id=131561


in reply to Re: Re: Re: Who needs files? Net::FTP::Scalar (code)
in thread Who needs files? Net::FTP::Scalar (code)

Well, about 45 minutes into getting URI to properly break down an ftp URL and making it work with Net::FTP::Scalar I was digging through LWP::* trying to find an example of using $uri->path_segments(). I found a good example. In fact I found exactly what I was trying to do. Then I realized: LWP::Simple supports FTP.

I should have known..after all this is Perl. perl -e 'use LWP::Simple qw(get); print(get("ftp://ftp.slackware.com/pub/slackware/slackware-current/ChangeLog.txt"));' Staunch