Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: How to catch Net::FTP timeouts ?

by Limbic~Region (Chancellor)
on Sep 24, 2004 at 12:54 UTC ( #393490=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://393490]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2022-01-27 01:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (70 votes). Check out past polls.

    Notices?