Package : perl-autodie > RPM : perl-autodie-2.370.0-1.mga10.src.rpm

Basic items

Name perl-autodie
Version 2.370.0
Release 1.mga10
URL https://metacpan.org/release/autodie
Group Development/Perl
Summary Lexically have functions succeed or die
Size 100KB
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 perlfunc and perlvar 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 overrideable 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 cauldron
Media name core-release
Media arch i586

Advanced items

Source RPM NOT IN DATABASE ?!
Build time 2024-01-01 17:44:09
Changelog View in Sophie
Files View in Sophie
Dependencies View in Sophie