Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by Perllace (Acolyte)
on Apr 21, 2011 at 13:48 UTC ( #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
Node Status?
node history
Node Type: note [id://900614]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (16)
As of 2014-08-29 16:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (281 votes), past polls