Your skill will accomplish what the force of many cannot |
|
PerlMonks |
VB "On Error" Equivalent in Perlby Gorby (Monk) |
on Nov 28, 2007 at 19:03 UTC ( [id://653629]=perlquestion: print w/replies, xml ) | Need Help?? |
Gorby has asked for the wisdom of the Perl Monks concerning the following question:
Hello Wise Monks, In VB, it's possible to instruct the program to continue even if an unexpected error occurs. Is there an equivalent way to do that in Perl? My problem is that I'm using Net::FTP, and that module times out after a few seconds, and my Perl program halts and exists without giving me a choice to reconnect and try again. How can I handle errors like this and keep my Perl program running? Thanks in advance. Gorby
Back to
Seekers of Perl Wisdom
|
|