Package : perl-autodie > RPM : perl-autodie-2.290.0-3.mga6.src.rpm

Basic items

Name perl-autodie
Version 2.290.0
Release 3.mga6
URL http://search.cpan.org/dist/autodie
Group Development/Perl
Summary Lexically have functions succeed or die
Size 98KB
Arch noarch
License GPL+ or Artistic

Description

'Fatal' provides a way to conveniently replace functions which normally
return a false value when they fail with equivalents which raise exceptions
if they are not successful. This lets you use these functions without
having to test their return values explicitly on each call. Exceptions can
be caught using 'eval{}'. See the perlfunc manpage and the perlvar manpage
for details.

The do-or-die equivalents are set up simply by calling Fatal's 'import'
routine, passing it the names of the functions to be replaced. You may wrap
both user-defined functions and overridable CORE operators (except 'exec',
'system', 'print', or any other built-in that cannot be expressed via
prototypes) in this way.

If the symbol ':void' appears in the import list, then functions named
later in that import list raise an exception only when these are called in
void context--that is, when their return values are ignored. For example

Media information

Distribution release Mageia 6
Media name core-release
Media arch i586

Advanced items

Source RPM NOT IN DATABASE ?!
Build time 2016-06-18 19:46:17
Changelog View in Sophie
Files View in Sophie
Dependencies View in Sophie