Sisyphus repository
Last update: 2017-12-12 23:07:17 +0300 | SRPMs: 18134 | Sign in or Sign up
en ru uk br
ALT Linux repositories
hide window
Sisyphus: 1.13-alt1
p8: 1.13-alt1
p7: 1.12-alt1.1
t7: 1.12-alt1.1
Platform6: 1.12-alt1.1
t6: 1.12-alt1.1
Platform5: 1.10-alt1.1
5.1: 1.10-alt1.1

Other repositories
hide window
CPAN: 1.13

Group :: Development/Perl
Source RPM: perl-Exception-Class-TryCatch

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR (0/0)   Repocop 

Current version: 1.13-alt1
Built: almost 4 years ago
Size: 25.8 KB
Repocop status: ok

Home page:   http://search.cpan.org/dist/Exception-Class-TryCatch/

License: Artistic
Summary: Exception::Class::TryCatch - Syntactic try/catch sugar for use with Exception::Class
Description:

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.

Inspiration for this module is due in part to Dave Rolsky's article "Exception
Handling in Perl With Exception::Class" in The Perl Journal (Rolsky 2004).

The try/catch syntax used in this module does not use code reference prototypes
the way the Error.pm module does, but simply provides some helpful
functionality when used in combination with eval. As a result, it avoids the
complexity and dangers involving nested closures and memory leaks inherent in
Error.pm (Perrin 2003).

Rolsky (2004) notes that these memory leaks may not occur in recent versions of
Perl, but the approach used in Exception::Class::TryCatch should be safe for
all versions of Perl as it leaves all code execution to the eval in the current
scope, avoiding closures altogether.

Current maintainer: Igor Vlasenko

List of contributors: ACL: List of rpms provided by this srpm:
  • perl-Exception-Class-TryCatch
Recent changes (last three changelog entries):

2014-03-05 Igor Vlasenko <viy at altlinux.ru> 1.13-alt1

    - automated CPAN update

2010-11-22 Igor Vlasenko <viy at altlinux.ru> 1.12-alt1.1

    - repair after perl 5.12 upgrade using girar-nmu

2010-07-13 Igor Vlasenko <viy at altlinux.ru> 1.12-alt1

    - automated CPAN update

 
© 2009–2017 Igor Zubkov