OK,

I changed the setup to

 #!/usr/local/bin/perl
 use CGI qw(:all);
 use lib "./libnet";
 use Net::FTP;
 print header;

originally this was the error I got:

BEGIN failed--compilation aborted at weather_ftp.cgi line 4.
vde$ perl weather_ftp.cgi
Can't locate Net/FTP.pm in @INC (@INC contains: ./libnet
/usr/local/pkg/perl5/li
b/sun4-solaris/5.00404 /usr/local/pkg/perl5/lib
/usr/local/pkg/perl5/lib/site_pe
rl/sun4-solaris /usr/local/pkg/perl5/lib/site_perl .) at weather_ftp.cgi
line 4.

I replaced

 use lib "/libnet/Net";

with

 use lib "./libnet";

now I get this error

BEGIN failed--compilation aborted at weather_ftp.cgi line 4.

same line as before. seems as if it found the library, it is certainly
there, I can see it, but something else is happening. strange.

I hate it when this happens, I'm sure that this is just some stupid thing.

thanks,

Al Hospers


Reply via email to