Al Hospers wrote:
: I changed the setup to
: 
:  #!/usr/local/bin/perl
:  use CGI qw(:all);
:  use lib "./libnet";
:  use Net::FTP;
:  print header;
: ...
: now I get this error
: 
: BEGIN failed--compilation aborted at weather_ftp.cgi line 4.

I presume this is from the server's error_log. Is that the complete
error, or is there something before it?

Do you get the same error when you run it from the command line? If
not, then it may be a permissions problem: CGI scripts run as someone
else, usually "nobody", and it may not have read pemission on the
module.

-- tdk

Reply via email to