Filewatcher File Search File Search
Catalog
Content Search
» » » » » »

perl-Try-Tiny

Minimal try/catch with proper localization of $@

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.
Homepage:
Package version:0.07
Architecture:noarch
Distribution:Fedora
Filename:perl-Try-Tiny-0.07-1.el4.noarch.rpm

/usr/share/man/man3/Try::Tiny.3pm.gz

Try::Tiny(3)     User Contributed Perl Documentation    Try::Tiny(3)



NAME
       Try::Tiny - minimal try/catch with proper localization of $@

SYNOPSIS
               # handle errors with a catch handler
               try {
                       die "foo";
               } catch {
                       warn "caught error: $_"; # not $@
               };

               # just silence errors

more»

/usr/share/doc/perl-Try-Tiny-0.07/Changes

0.07
  - allow multiple finally blocks
  - pass the error, if any, to finally blocks when called

0.06
	- in t/given_when.t use a plan instead of done_testing for more backwards
	  compatibility

0.05
	- Documentation fixes and clarifications

0.04
	- Restore list context propagation for catch blocks
	- Fix a bug where finally blocks weren't always invoked

0.03
	- Support for 'finally' blocks (An
more»

Browse inside perl-Try-Tiny-0.07-1.el4.noarch.rpm

849 B2014-11-30HEADER  view  604+ mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download perl-Try-Tiny-0.07-1.el4.noarch.rpm

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com