Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Exception Classes Advice on Subclasses

by adrianh (Chancellor)
on Dec 21, 2005 at 10:16 UTC ( #518271=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ( my $e = MyException->caught )  {
      ...
    } elsif ($@) {
      die $@;
    }