Let's say instead of Net::ftp, i use ftp.pm since that's
all verio seems to have.. here's the module link:
So how would the first line of the script look? Should i
still use the double colons.. :: ..?
my $ftp=Net::FTP -> new($hostname) or die ("Connect failed");
The "Net" before the colons indicates that the module is in the Net directory. If the module you want, say "Bubba.pm" is in the "Slurpy" directory, then you allow yourself to use it with
If Bubba is in a Perl "main" directory, then it finds it when you write "use Bubba". If you insist that there is no "Net::FTP" module that you can use, I would 1) throw my hand in the air and "use FTP;" and 2) consider switching servers to someplace that knows something more about Perl dependencies.
AgentM Systems nor Nasca Enterprises nor
Bone::Easy nor Macperl is responsible for the
comments made by
AgentM. Remember, you can build any logical system with NOR.
Not, NET::FTP, or Net::ftp or any of the other variations
that you've tried. Perl is case sensitive, so nothing else
"Perl makes the fun jobs fun
and the boring jobs bearable" - me