You only need the Net:: FTP module installed on the client side as long as your ISP has an FTP daemon running.
www.pair.net supports open source dev well with a php/perl/mysql/apache environment. They also provide free perl scripts and have most perl modules installed.
Check all the directories in @INC to see if you have the module installed perl -e 'for(@INC) {print "$_ \n"}'. Consider using the CPAN module for installation as it tells you what you already have installed and if it is up to date. | [reply] [d/l] |
Forgive me if this is obvious to you, but AFAIK there is not a module called Net::FTP; there are several modules called Net::FTP::SomethingOrOther, and there is one called Net::FTPServer. Also, in your use statement you need to get the capitalisation right. use Net::FTPServer; will work (so long as your ISP has the module) but use net::FTPServer; won't.
Once you're sure of the precise definition of the module you want, a conclusive way to check whether the module is available is to insert the use statement into a script that works, and see if that breaks it.
If you find it's *not* there, then in principle you can install it from CPAN into your own web space. You'll need to put use lib 'your/path/and/directory/'; at the start of the script, to tell perl where to look for the module.
My ISP doesn't, as it happens, support Net::FTP::, though they are *very* Perl friendly and all round good value (it's a non-profit set-up whose declared aim is to support open-source software) - http://www.uklinux.net. It's a UK outfit. I have also heard lots of good things about http://www.csoft.net/ in the US - if anyone has a module as standard, I'd think it wd be them. And of course our own jcwren has a pretty fab offer available for monks.
§ George Sherston | [reply] [d/l] [select] |