i was using net::ftp to do something, and it wasn't working because i couldn't 
get a recursive
listing of the files i wanted to download, like you would with file::find. 
well, i found
net::ftp::recursive and that did the trick, but after i installed it and 
changed my use net::ftp
to use::net::ftp::recursive, i forgot to change my call to it, i.e:
i had 
my $ftp = Net::FTP->new($server, Debug => 3) or die "Can't connect: [EMAIL 
PROTECTED]";
instead of
my $ftp = Net::FTP::Recursive->new($server, Debug => 3) or die "Can't connect: 
[EMAIL PROTECTED]";
rget is a method included in net::ftp::recursive but not in net::ftp. so with 
the line
my $ftp = Net::FTP->new($server, Debug => 3) or die "Can't connect: [EMAIL 
PROTECTED]";
when i would call $ftp->rget() i would get an error that said basically there 
is no rget method
with net::ftp.
so my question is this: by using net::ftp::recursive, do you get all of the 
methods (not really
comfortable with oo programming yet so i hope i stated that right) included 
with net::ftp? 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to