perl-Carp - Alternative warn and die for modules

Distribution: Mageia 4.1
Repository: Mageia Core i586
Package name: perl-Carp
Package version: 1.320.0
Package release: 2.mga4
Package architecture: noarch
Package type: rpm
Installed size: 39.43 KB
Download size: 21.85 KB
Official Mirror:
The Carp routines are useful in your own modules because they act like die() or warn(), but with a message which is more likely to be useful to a user of your module. In the case of cluck, confess, and longmess that context is a summary of every call in the call-stack. For a shorter message you can use carp or croak which report the error as being from where your module was called. There is no guarantee that that is where the error was, but it is a good educated guess. You can also alter the way the output and logic of Carp works, by changing some global variables in the Carp namespace.



  • perl(Carp) == 1.320.0
  • perl(Carp::Heavy) == 1.320.0
  • perl-Carp == 1.320.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-Carp rpm package:
      # urpmi perl-Carp


    • /usr/lib/perl5/vendor_perl/5.18.1/
    • /usr/lib/perl5/vendor_perl/5.18.1/Carp/
    • /usr/share/doc/perl-Carp/Changes
    • /usr/share/doc/perl-Carp/META.json
    • /usr/share/doc/perl-Carp/META.yml
    • /usr/share/doc/perl-Carp/MYMETA.yml
    • /usr/share/doc/perl-Carp/README
    • /usr/share/man/man3/Carp.3pm.xz


    2013-10-19 - umeabot <umeabot> 1.320.0-2.mga4 + Revision: 534879 - Mageia 4 Mass Rebuild

    2013-09-15 - sander85 <sander85> 1.320.0-1.mga4 + Revision: 479922 - imported package perl-Carp