in reply to Re: Perl5lib causes conflict?
in thread Perl5lib causes conflict?

Hello Moritz,

Thanks for the reply. I am in fact using your second method of unsetting PERL5LIB variable through a batch file. Your first suggestion will not work for me because I do not know where my users may install the application ("<my application folder>"). I cannot rely on current folder because the launching of the script can be done from any folder.

Regards.

Ash

Replies are listed 'Best First'.
Re^3: Perl5lib causes conflict?
by moritz (Cardinal) on Nov 09, 2009 at 14:46 UTC
    If the lib folder has a constant relation to the binary, you can use FindBin (core module) to find he path to the binary, and thus to the lib dir too.
    Perl 6 - links to (nearly) everything that is Perl 6.