Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: does your cpan client disable sitecustomize.pl ? PERL5OPT? be careful

by Corion (Pope)
on Aug 20, 2013 at 09:02 UTC ( #1050154=note: print w/replies, xml ) Need Help??


in reply to does your cpan client disable sitecustomize.pl ? PERL5OPT? be careful

If you override builtins globally, I would expect at least the tests of the test suite failing for modules that don't expect the modified version of the builtin.

Also, $ENV{PERL5OPT} might be necessary for "your Perl" to run in a meaningful way, so disabling/eliminating PERL5OPT is not a good solution for a CPAN client either.

I suggest not overriding builtins globally in your perl. Maybe have an alias for the interactive Perl, like myperl, which sets up PERL5OPT and then runs/execs perl.

Replies are listed 'Best First'.
Re^2: does your cpan client disable sitecustomize.pl ? PERL5OPT? be careful
by Anonymous Monk on Aug 20, 2013 at 09:11 UTC

    Also, $ENV{PERL5OPT} might be necessary for "your Perl" to run in a meaningful way

    Aside from changing @INC what could be necessary? All the other perlrun options could break any/every/test/Makefile.PL

    Maybe have an alias for the interactive Perl

    You must be wearing two thinking caps :)

    Thanks

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1050154]
help
Chatterbox?
[marto]: good morning all
[Corion]: Hi marto ;)
[Discipulus]: Corion ah! you opened a new search path! thanks
[choroba]: LanX No, but they grow and want more!
LanX was conditioned by a female
Discipulus my 'kids' always complain with our car..
[LanX]: true, cars are bad in growing
[marto]: WaitWindow()
[Corion]: Discipulus: You need to respond with 0 to WM_QUERYENDSESSION

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2017-01-17 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (154 votes). Check out past polls.