Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Problem installing Carp-1.25 under DWIM Perl

by HelenCr (Monk)
on May 21, 2012 at 00:06 UTC ( [id://971537]=note: print w/replies, xml ) Need Help??


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'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://971537]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-26 02:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found