http://www.perlmonks.org?node_id=393490


in reply to Re: How to catch Net::FTP timeouts ?
in thread How to catch Net::FTP timeouts ?

steves,
You can catch anything using eval blocks:

Absolutes are seldom absolute....

eval { exit }; print "I caught it\n" if $@;

Cheers - L~R