Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 lurking in the Monastery: (4)
As of 2015-07-05 15:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls