Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Problem installing Carp-1.25 under DWIM Perl

by tobyink (Canon)
on May 20, 2012 at 23:37 UTC ( [id://971529]=note: print w/replies, xml ) Need Help??


in reply to Problem installing Carp-1.25 under DWIM Perl

The problem seems to be around here. For some reason, $to is not being defined. I'd edit that file, insert some kind of stacktrace/dump into the loop, and see what's going on. Presumably a problem somewhere further up the stack.

That said, why do you need 1.25? Carp 1.20 should come pre-installed with Perl 5.14.2, and there doesn't seem to be any killer features added since.

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

Replies are listed 'Best First'.
Re^2: Problem installing Carp-1.25 under DWIM Perl
by HelenCr (Monk) on May 21, 2012 at 00:06 UTC

    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.

      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?
Re^2: Problem installing Carp-1.25 under DWIM Perl
by Anonymous Monk on May 21, 2012 at 00:00 UTC

    The problem seems to be around here.

    Nope, using the wrong make is the problem

    DWIMPerl (a StrawberryPerl) generally comes with dmake,  perl -V:make

      Can you please be a bit mode specific (verbose) how to use dmake? I am a (relative) newbie.

        Can you please be a bit mode specific (verbose) how to use dmake? I am a (relative) newbie.

        Don't type "nmake" type "dmake" instead.

        Read A Guide To Installing Modules (replies too)

        Use  cpanp -i Carp::Always to install modules

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-24 22:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found