NAME Fatal::Exception - succeed or throw exception SYNOPSIS use Fatal::Exception 'Exception::System' => qw; open FILE, "/nonexistent"; # throw Exception::System use Exception::Base 'Exception::My'; sub juggle { ... } import Fatal::Exception 'Exception::My' => 'juggle'; juggle; # succeed or throw exception unimport Fatal::Exception 'juggle'; juggle or die; # restore original behavior DESCRIPTION Fatal::Exception provides a way to conveniently replace functions which normally return a false value when they fail with equivalents which raise exceptions if they are not successful. This is the same as Fatal module but it throws Exception::Base object on error. PREREQUISITIES * Exception::Base * Exception::System LICENSE Copyright 2007 by Piotr Roszatycki . This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See