in reply to NET::FTP Package

I'm on my machine and i can execute my code correctly.
When i'm trying to run it on another machine,it says that i can call the method login.
I remember installed a package name NET::FTP on my machine and i delete the zip by accident :-(

Replies are listed 'Best First'.
Re: Re: NET::FTP Package
by insensate (Hermit) on Nov 21, 2002 at 15:45 UTC
    Verify that the module is installed: Run this from the commandline...it'll print "ok" if the module is installed and complain about not finding the module if it's not.
    perl -MNet::FTP -e"print 'ok'"
    If the module is, in fact, installed....Are you sure the exact identical script works on the other machine? Are the versions of Perl the same? (use perl -v to find the version)...And if all of that is fine please post your code.