in reply to Re: Problem installing Carp-1.25 under DWIM Perl
in thread Problem installing Carp-1.25 under DWIM Perl

Carp doesn't seem to be included in 5.14.

If I don't install Carp, I get, for example:

E:\Perl>perl "Conv.pl" Can't locate Carp/Always.pm in @INC (@INC contains: F:/Dwimperl/perl/s +ite/lib F:/Dwimperl/perl/vendor/lib F:/Dwimperl/perl/lib .) at Utilit +ies.pm line 33. BEGIN failed--compilation aborted at Utilities.pm line 33. Compilation failed in require at Conv.pl line 12. BEGIN failed--compilation aborted at Conv.pl line 12.

Replies are listed 'Best First'.
Re^3: Problem installing Carp-1.25 under DWIM Perl
by tobyink (Canon) on May 21, 2012 at 00:17 UTC

    Carp::Always is a different module to Carp.

    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
      Please remind me what's the added value of Carp::Always?

        Carp::Always makes the Perl built-in die and warn functions work like Carp's confess and cluck functions.

        perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'