Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: combination of multiple installed Perls and some environment variables cause segfaults

by tobyink (Abbot)
on Apr 06, 2013 at 23:47 UTC ( #1027313=note: print w/ replies, xml ) Need Help??


in reply to Re^2: combination of multiple installed Perls and some environment variables cause segfaults
in thread combination of multiple installed Perls and some environment variables cause segfaults

Adding

BEGIN { delete $ENV{PERL5LIB} };

... to the top if the script shouldn't mess anything up. It will only have any effect on child processes launched by the script - e.g. things launched using system() or backticks.

package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name


Comment on Re^3: combination of multiple installed Perls and some environment variables cause segfaults
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2014-07-26 16:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (178 votes), past polls