Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Exception::Class - how to use?

by Perllace (Acolyte)
on Apr 20, 2011 at 11:57 UTC ( #900319=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package MyExceptions;
    
    ...
    );
    
    1;
    
  2. or download this
    package ReportGenerator;
    
    ...
       #Here is want to check of $result and throw an exception of the kin
    +d MyExceptions::RegionNotFound->throw(error => 'bad number');
    #how do I do it??
    }
    
  3. or download this
    $Report->CheckResult($ABC->Command(100,100),"Someinfo")
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://900319]
help
Chatterbox?
[Lady_Aleena]: Well, some of the data returned is taylored for the printing of certain elements.
[atcroft]: Lady_Aleena: Understandable.
[Lady_Aleena]: However, in this instance, the script will grow much larger, while the module will shrink.

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2017-05-29 02:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?