Help for this page

Select Code to Download


  1. or download this
    package MyErrors::SomeError;
    use Error::Simple;
    @ISA = qw(Error::Simple);
    
    1;
    
  2. or download this
    #!/usr/bin/perl -w
    
    ...
      my $err = shift;
      print "caught it: $err->{'-text'}\n";
    };