Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Exception::Class - how to use?

by Perllace (Acolyte)
on Apr 21, 2011 at 13:48 UTC ( [id://900614]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Exception::Class (
            'MyExceptions::Test' => {                  
    ...
    
    no Moose::Util::TypeConstraints;
    1;
    
  2. or download this
    MyExceptions::ExceptionTest->throw( message => $data )
    
  3. or download this
     if ( my $ex = $@ )
    {
    ...
       print $e->message;
      }
     }
    

Log In?
Username:
Password:

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

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

    No recent polls found