http://www.perlmonks.org?node_id=1027308


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

Thanks for the reply.

I don't think I want to delete $ENV{PERL5LIB} because none of these scripts are solely "mine", so I don't want to mess anybody else up.

My understanding was that use lib or -I were good for individual scripts or one-offs, but not a good solution for permanently setting up a working environment. But I could be wrong.

Since I already have 2 system perls (legacy 5.8.9 and the aforementioned 5.10.0) and 2 MacPorts perls (5.12 and 5.14), and presumably those MP perls are needed by other programs I have installed so I can't get rid of them, I think adding more Perls with perlbrew would just complicate things.

Maybe getting netpbm to change to /usr/bin/env perl would be the best solution.