Hello Folks!
I wonder if there is another possibility?
Situation:
I got an older Perl5 Version on my win32 machines (corp. network) which are relying on a given version of Perl for a certain application to work.
I installed Strawberry Perl on these machines. So if "Perl" is started it is the old app and all is fine.
perl -v
This is perl, version 5.005_03 built for MSWin32-x86
I copied the Perl.exe from strawberry to Perl5.exe
perl5 -v
This is perl, v5.10.0 built for MSWin32-x86-multi-thread
so i start my scripts with a .bat File containing:
"perl5 script.pl" ... Is there maybe another (smarter) way or possibility which might be better suited than this?
(Since the path to the Old Perl is overwriting the strawberry path it works ...>)
Thanks in Advance for your thoughts
Update: So a solution to this is to set the environment variables right before executing the scripts as stated by anonymous monk (e.g. by starting a batch file .bat which sets the environment and then starts the perl script:
.
"Strawberry Perl" - can it live together with ActivePerl 5.10.0 Build 1003 (on WinXP)?
Two versions of perl in same machine
Thank you for your help
MH