Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: "Can't happen" bugs

by xdg (Monsignor)
on Jan 16, 2007 at 15:20 UTC ( #594918=note: print w/replies, xml ) Need Help??


in reply to "Can't happen" bugs

Is there another Perl that comes earlier in your $ENV{PATH}? If so, maybe you aren't running the Perl you think you are.

As a more general point about tracking error messages, I find that App::Ack or Google Code Search are often quick ways to find out where some strange error message is being generated.

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Replies are listed 'Best First'.
Re^2: "Can't happen" bugs
by gaal (Parson) on Jan 16, 2007 at 16:04 UTC
    Shouldn't another perl also honor my PERL5LIB, which after all is in the environment?

    Since posting I've found that there are, in fact, two loadings of Scalar::Util in the strace dump. The first one finds my version as desired. The second does not! Since this was an strace -fF on make, not perl, it may very well be that a second interpreter (whether another installation or another instance of the same one) is being invoked. But the question is now: under what circumstances is the environment override (which prepends to @INC, by design of course) ignored? Or is there someone who is weeding my @INC?

    Hmmm. Maybe taint mode does this! *dives in again*

      Par::Packer uses Module::Install and it looks like it is doing some auto installation (ick) -- and that might be invoking another interpreter. You might want to take this up on #par or with the Module::Install people.

      -xdg

      Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Re^2: "Can't happen" bugs
by pingo (Hermit) on Jan 21, 2007 at 13:04 UTC
    This is probably a bit silly, but I've occasionally found Acme::JavaTrace to be useful for finding where stuff actually happens.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2021-01-24 10:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?