Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Do you use an exception class in your Perl programs? Why or why not?

by zwon (Abbot)
on Mar 14, 2010 at 10:14 UTC ( [id://828539]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if( $@ =~ /some error stuff/ ) {
        warn "error stuff occurred";
    ...
    else { 
        warn "some other message" ;
    }
    
  2. or download this
    if($@) { Oops; }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-25 19:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found