Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by Limbic~Region (Chancellor)
on Sep 24, 2004 at 12:54 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-24 20:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found