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

Bug#547299: ITP: libtry-tiny-perl -- Perl module providing minimal try/catch

Package: wnpp
Severity: wishlist
Owner: Ansgar Burchardt <ansgar@2008.43-1.org>

* Package name    : libtry-tiny-perl
  Version         : 0.02
  Upstream Author : Yuval Kogman <nothingmuch@woobling.org>
* URL             : http://search.cpan.org/dist/Try-Tiny/
* License         : MIT
  Programming Lang: Perl
  Description     : Perl module providing minimal try/catch

 Try::Tiny provides bare bones try/catch statements that are designed to
 minimize common mistakes with eval blocks, and NOTHING else.
 This is unlike TryCatch which provides a nice syntax and avoids adding
 another call stack layer, and supports calling return from the try block to
 return from the parent subroutine. These extra features come at a cost of a
 few dependencies, namely Devel::Declare and Scope::Upper which are
 occasionally problematic, and the additional catch filtering uses Moose type
 constraints which may not be desirable either.
 The main focus of this module is to provide simple and reliable error
 handling for those having a hard time installing TryCatch, but who still want
 to write correct eval blocks without 5 lines of boilerplate each time.

Try::Tiny is required by the new release of Moose (libmoose-perl).


Reply to: