perl-Try-Tiny

Minimal try/catch with proper localization of $@

Description

This module 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 that are occasionally
problematic, and the additional catch filtering uses Moose type constraints,
which may not be desirable either.
Website: http://search.cpan.org/dist/Try-Tiny
License: MIT
Vendor: Fedora Project
Group: development/libraries

Packages

perl-Try-Tiny-0.11-4.el6.noarch [22 KiB] Changelog by Paul Howarth (2012-03-26):
- BR: perl(Carp)
- Don't need to remove empty directories from buildroot
- Don't use macros for commands
- Drop redundant %{?perl_default_filter}
- Enhance %description
- Reinstate EPEL-5 compatibility:
  - Define buildroot
  - Clean buildroot in %install and %clean
- Use tabs