[Israel.pm] Removing PERLLIB additions to @INC
lists at woobling.org
Wed Jan 14 12:24:14 PST 2004
On Wed, Jan 14, 2004 at 02:57:51PM +0000, Mikhael Goikhman wrote:
> This syntax may or may not work depending on /bin/sh. But you don't
> really need to depend on a shell or write any wrapper. The standard shell
> independent way to change the child process environment on unix is:
> env PERL5LIB= PERLLIB= HOME=/tmp your_perl_script
> This is portable. If you want to be less portable, use GNU env extensions
> (genv on non GNU systems):
> env -u PERL5LIB -u PERLLIB your_perl_script
/me is a bit new to all this POSIX stuff...
It's nice to know there's always a more elegant solution.
() Yuval Kogman <nothingmuch at woobling.org> 0xEBD27418 perl hacker &
/\ kung foo master: /me kicks %s on the nose: neeyah!!!!!!!!!!!!!!!!!
More information about the Perl