I may be wrong, but it looks like machine 2 doesn't have the Net::FTP module
installed. Try this to see if it is:

perldoc Net::Ftp 

If it's installed, you'll see some text pop up straight away. As for machine one,
I'm not too sure. I'm sure someone on the list can help!

~Matt C. 


--- [EMAIL PROTECTED] wrote:
> I've written a script to FTP files. I've included the Net::FTP package but
> when I run the script in 2 different machines, I get these 2 error messages:
> 
> machine 1
> Can't locate object method "new" via package "Net::FTP::A" at
> /usr/local/lib/per
> l5/5.00503/Net/FTP/A.pm line 18.
> 
> 
> machine2
> Can't locate Net/FTP.pm in @INC (@INC contains:
> /usr/local/lib/perl5.004-04/sun4
> -solaris/5.00404 /usr/local/lib/perl5.004-04
> /usr/local/lib/perl5.004-04/site_pe
> rl/sun4-solaris /usr/local/lib/perl5.004-04/site_perl /usr/local/lib/perl5
> .) at
>  unix_ftp.pl line 3.
> 
> Any ideas? 
> 
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to