[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#583944: ITP: libexception-class-trycatch-perl -- Syntactic try/catch sugar for use with Exception::Class



Package: wnpp
Owner: Alan Haggai Alavi <alanhaggai@alanhaggai.org>
Severity: wishlist

*** Please type your report below this line ***

* Package name    : libexception-class-trycatch-perl
  Version         : 1.12
  Upstream Author : David A. Golden <dagolden@cpan.org>
* URL             : http://search.cpan.org/dist/Exception-Class-TryCatch/
* License         : Apache
  Programming Lang: Perl
  Description     : Syntactic try/catch sugar for use with Exception::Class

Exception::Class::TryCatch provides syntactic sugar for use with
Exception::Class using the familiar keywords try and catch. Its primary
objective is to allow users to avoid dealing directly with $@ by ensuring that
any exceptions caught in an eval are captured as Exception::Class objects,
whether they were thrown objects to begin with or whether the error resulted
from die. This means that users may immediately use isa and various
Exception::Class methods to process the exception.

In addition, this module provides for a method to push errors onto a hidden
error stack immediately after an eval so that cleanup code or other error
handling may also call eval without the original error in $@ being lost.

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

-- 
The difference makes the difference.



Reply to: