in reply to Re: Need way to override PERL5LIB from inside pl script file
in thread Need way to override PERL5LIB from inside pl script file
Yes, this approach may be handy if you have hundreds of Perl scripts, and don't want to edit them all:
Note that I (gutlessly) added SETLOCAL so that changes to PERL5LIB apply for the running of your BAT file only and so cannot interfere with Oracle Perl scripts that depend on the global value of PERL5LIB.@echo off SETLOCAL SET PERL5LIB= @C:\Path to your perl\bin\perl.exe %*
|
|---|