perl-autodie-2.220.0-2.mga4.noarch.rpm


Advertisement

Description

perl-autodie - Lexically have functions succeed or die

Distribution: Mageia 4.1
Repository: Mageia Core i586
Package name: perl-autodie
Package version: 2.220.0
Package release: 2.mga4
Package architecture: noarch
Package type: rpm
Installed size: 191.37 KB
Download size: 71.45 KB
Official Mirror: distrib-coffee.ipsl.jussieu.fr
'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

Alternatives

Provides

  • perl(Fatal) == 2.220.0
  • perl(autodie)
  • perl(autodie::exception)
  • perl-autodie == 2.220.0-2.mga4

    Install Howto

    1. Enable Mageia Core repository on "Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install perl-autodie rpm package:
      # urpmi perl-autodie

    Files

    • /usr/lib/perl5/vendor_perl/5.18.1/Fatal.pm
    • /usr/lib/perl5/vendor_perl/5.18.1/autodie.pm
    • /usr/lib/perl5/vendor_perl/5.18.1/autodie/exception.pm
    • /usr/lib/perl5/vendor_perl/5.18.1/autodie/hints.pm
    • /usr/lib/perl5/vendor_perl/5.18.1/autodie/skip.pm
    • /usr/lib/perl5/vendor_perl/5.18.1/autodie/exception/system.pm
    • /usr/share/doc/perl-autodie/AUTHORS
    • /usr/share/doc/perl-autodie/Changes
    • /usr/share/doc/perl-autodie/LICENSE
    • /usr/share/doc/perl-autodie/META.json
    • /usr/share/doc/perl-autodie/META.yml
    • /usr/share/doc/perl-autodie/MYMETA.yml
    • /usr/share/doc/perl-autodie/README
    • /usr/share/man/man3/Fatal.3pm.xz
    • /usr/share/man/man3/autodie.3pm.xz
    • /usr/share/man/man3/autodie::exception.3pm.xz
    • /usr/share/man/man3/autodie::exception::system.3pm.xz
    • /usr/share/man/man3/autodie::hints.3pm.xz
    • /usr/share/man/man3/autodie::skip.3pm.xz

    Changelog

    2013-10-21 - umeabot <umeabot> 2.220.0-2.mga4 + Revision: 536943 - Mageia 4 Mass Rebuild

    2013-09-25 - sander85 <sander85> 2.220.0-1.mga4 + Revision: 485999 - update to 2.22

    2013-09-12 - sander85 <sander85> 2.210.0-1.mga4 + Revision: 478129 - update to 2.21

    2013-08-23 - sander85 <sander85> 2.200.0-3.mga4 + Revision: 470203 - Rebuild for new perl

    2013-06-26 - jquelin <jquelin> 2.200.0-2.mga4 + Revision: 447244 - add missing provides

    2013-06-26 - jquelin <jquelin> 2.200.0-1.mga4 + Revision: 447147 - update to 2.20

    2013-05-29 - shlomif <shlomif> 2.190.0-1.mga4 + Revision: 432557 - update to 2.19

    2013-03-18 - jquelin <jquelin> 2.160.0-1.mga3 + Revision: 403886 - update to 2.16

    2013-01-13 - umeabot <umeabot> 2.130.0-2.mga3 + Revision: 375359 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

    2012-11-14 - jquelin <jquelin> 2.130.0-1.mga3 + Revision: 317601 - update to 2.13

    Advertisement
    Advertisement