Help for this page

Select Code to Download


  1. or download this
    package Foo::Exceptions;
    use strict;
    ...
            # etc.
    
    );
    
  2. or download this
    Foo::Exception::DBI->throw($DBI::errstr)
    Foo::Exception::Dupe->throw(name => $name, error => $value);
    
  3. or download this
    eval {$foo->something_that_might_die};
    if (ref($@)) {
    ...
        };
    };
    die $@ if $@;