If the constructor fails undef will be returned and an error message will be in $@If you change your code to:
Hopefully the error message will help.$ftp = Net::FTP->new("myserver@here.com", Debug => 1) || die "Unable to connect: $@\n";
gav^
In reply to Re: ftp attempt
by gav^
in thread ftp attempt
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |