SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Try-Tiny rpm build for : RedHat EL 5. For other distributions click perl-Try-Tiny.

Name : perl-Try-Tiny
Version : 0.11 Vendor : obs://build_opensuse_org/home:csbuild
Release : 2.1 Date : 2012-06-01 00:23:36
Group : Development/Libraries/Perl Source RPM : perl-Try-Tiny-0.11-2.1.src.rpm
Size : 0.02 MB
Packager : (none)
Summary : Try-Tiny - minimal try/catch with proper localization of $@
Description :
This module provides bare bones \"try\"/\"catch\"/\"finally\" 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.

It\'s designed to work as correctly as possible in light of the various
pathological edge cases (see BACKGROUND) and to be compatible with any style
of error values (simple strings, references, objects, overloaded objects, etc).

If the try block dies, it returns the value of the last statement executed in
the catch block, if there is one. Otherwise, it returns \"undef\" in scalar
context or the empty list in list context. The following two examples both
assign \"bar\" to $x.

my $x = try { die \"foo\" } catch { \"bar\" };

my $x = eval { die \"foo\" } || \"bar\";

You can add finally blocks making the following true.

my $x;
try { die \'foo\' } finally { $x = \'bar\' };
try { die \'foo\' } catch { warn \"Got a die: $_\" } finally { $x = \'bar\' };

Finally blocks are always executed making them suitable for cleanup code
which cannot be handled using local.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/csbuild:/Perl/RHEL_5/noarch

Content of RPM  Changelog  Provides Requires

Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server

Provides :
perl(Try::Tiny)
perl-Try-Tiny

Requires :
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(VersionedDependencies) <= 3.0.3-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
perl(vars)
perl(strict)
perl(Carp)


Content of RPM :
/usr/lib/perl5/vendor_perl/5.8.8/Try
/usr/lib/perl5/vendor_perl/5.8.8/Try/Tiny.pm
/usr/share/doc/perl-Try-Tiny-0.11
/usr/share/doc/perl-Try-Tiny-0.11/Changes
/usr/share/man/man3/Try::Tiny.3pm.gz

 
ICM