ftpput script: perl ?

William O'Higgins william.ohiggins-H217xnMUJC0sA/PxXw9srA== at public.gmane.org
Sun Apr 18 15:40:17 UTC 2004


On Sun, Apr 18, 2004 at 10:27:14AM -0400, Rick Delaney wrote:
>> >They use modules, in this case Net::FTP.
>> 
>> Not necessarily.  See this: http://nerd.cx/get.php?code20030911
>
>The very first line of code is 
>
>   use IO::Socket;
>
>which looks like an imported module to me.  Of course you *can* do
>socket programming in Perl without using modules.  The point is that
>you would have to be deranged (or be working in a very, very restrictive
>environment) to want to.

IO::Socket has been a core module for a *very* long time.  Net::FTP uses
IO::Socket to enact its networking implementation.

>Also, Net::FTP has been part of core perl since 5.8.0 at least.

Well then it's moot.  I've apparently been hacking on Perl long enough
to have encountered stock installs without Net::FTP.  Who knew?
-- 

yours,

William

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list