in reply to Net::FTP.pm Blues
$ftp = Net::FTP->new("some.host.name", Debug => 0) or die "Cannot connect to some.host.name: $@";
Printing $@ on failure to create a handle should give you a good clue as to what the problem is.
PS -I don't understand the purpose of of your print STDOUT line: if $ftp is not defined, you print its value!
Dave.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::FTP.pm Blues
by jfroebe (Parson) on Sep 28, 2004 at 13:32 UTC |