Not such a scrap. I did the same but instead of set PERL5LIB=/some/where, I used setenv PERL5LIB /some/where. In this case /some/where shows up all right. Regards, Eugene
-----Original Message----- From: Roderich Schupp [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 2:39 PM To: Henry Wu Cc: par@perl.org Subject: Re: How to build exe using pp to ignore PERL5LIB environment variable On Wed, May 28, 2008 at 1:02 PM, Roderich Schupp <[EMAIL PROTECTED]> wrote: > AFAICT, no. But I think this is a useful suggestion: Scrap that. I just tried a very simple example (version 0.980 on Solaris 9): $ pp -o foo.exe -e "print qq[INC [EMAIL PROTECTED];" and PERL5LIB is _not_ propagated to foo.exe: when I run $ set PERL5LIB=/some/where $ ./foo.exe INC = CODE(0x6df76c) CODE(0x6df958) i.e. /some/where _doesn't_ show up in @INC Can you try this example? And what version of PAR and PAR::Packer are you using? Cheers, Roderich