[Israel.pm] Removing PERLLIB additions to @INC

Yuval Kogman lists at woobling.org
Wed Jan 14 05:55:46 PST 2004

On Wed, Jan 14, 2004 at 11:05:07AM +0200, David Baird wrote:

> Oh silly me, I found the solution. I carefully read perlrun to
> understand what I needed. Gabor already suggested it.

If at some point you need to have a script without tainting perhaps
something resemblant of

#!/bin/sh -c 'unset PERL5LIB; unset PERLLIB; /usr/bin/perl $@'

(untested) may be useful.

 ()  Yuval Kogman <nothingmuch at woobling.org> 0xEBD27418  perl hacker &
 /\  kung foo master: /me has realultimatepower.net: neeyah!!!!!!!!!!!!

More information about the Perl mailing list