Exception

Structured exception handling for Perl
Download

Exception Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Pete Jordan
  • Publisher web site:
  • http://search.cpan.org/~pjordan/

Exception Tags


Exception Description

Structured exception handling for Perl Exception is a Perl module which fulfils two needs; it converts all errors raised by die to exception objects which may contain stack trace information and it implements a structured exception handling syntax as summarised above.SYNOPSIS use Exception qw(:all); Exception->debugLevel(DEBUG_STACK); my $err=new Exception 'id'; try { $err->raise('error text'); die 'dead'; } when $err, except { my $error=shift; $error->confess; } when 'die', reraise except { shift->croak; } finally { print STDERR "Tidying up\n"; }; Requirements: · Perl


Exception Related Software