Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Exception::Class - how to use?

by herveus (Prior)
on Aug 25, 2005 at 10:47 UTC ( [id://486502]=note: print w/replies, xml ) Need Help??


in reply to Exception::Class - how to use?

Howdy!

You have the basic flow down, but the "catch" part can be simplified. Exception::Class provides a "caught" method that returns the exception object if it is of the right class or false. See "Catching Exceptions" in the Fine Manual for Exception::Class.

yours,
Michael

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-03-28 17:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found