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

Re^3: Question regarding handling exceptions in subroutine

by moritz (Cardinal)
on May 12, 2013 at 10:37 UTC ( #1033182=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Question regarding handling exceptions in subroutine
in thread Question regarding handling exceptions in subroutine

I'm not sure if I understood the question, but you can use eval in the script to catch the exceptions thrown from the module.


Comment on Re^3: Question regarding handling exceptions in subroutine

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2014-11-27 18:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (186 votes), past polls