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

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'
  • Comment on Re^3: Problem installing Carp-1.25 under DWIM Perl

Replies are listed 'Best First'.
Re^4: Problem installing Carp-1.25 under DWIM Perl
by HelenCr (Monk) on May 21, 2012 at 15:28 UTC
    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'