Don't ask to ask, just ask | |
PerlMonks |
Re^3: VB "On Error" Equivalent in Perlby wind (Priest) |
on Nov 29, 2007 at 01:41 UTC ( [id://653740]=note: print w/replies, xml ) | Need Help?? |
That is explained in the documentation for Net::FTP.
If the constructor fails undef will be returned and an error message will be in $@.All other Net::FTP methods save their error message in $ftp->message. I've also sometimes wondered about the logic of this. Nevertheless, that's the way it is. - Miller
In Section
Seekers of Perl Wisdom
|
|