Oracle167 has asked for the wisdom of the Perl Monks concerning the following question:

I need to upgrade ActivePerl version currently running ActivePerl 5.6.1.638 on Virtual Server Windows 2003 with Apache Tomcat 5. for Builds of SRF. I upgraded to Virtual Server Windows 2008 Server edition 2008 32 Bit OS for Builds which ActivePerl Version would work I need to install Perl which will work and be compatible with Tomcat 5.0? I believe I need to use ActivePerl 5.18 rather then 5.20 in Windows 2008 Server? Would Strawberry Perl 5 Version 24 work as well? Thanks Thoughts and Ideas Doug

Replies are listed 'Best First'.
Re: Which Perl software Windows 2008
by Marshall (Canon) on Sep 14, 2016 at 20:59 UTC
    I am curious why you would think: "I believe I need to use ActivePerl 5.18 rather then 5.20 in Windows 2008 Server?". ActiveState only offers free downloads for their latest 2 revisions. I am not sure that you can even get 5.18 free anymore. I do run AS 5.20.2, 32 bit on my ancient Win XP laptop without problems. I don't see why it wouldn't work with Win 2008 Server, 32 bit unless there is some strange bug with Tomcat. My personal experience tracking the latest stable release from AS has been good (mileage varies). Others know more about Strawberry than myself.
Re: Which Perl software Windows 2008
by $h4X4_|=73}{ (Monk) on Sep 16, 2016 at 10:16 UTC
      Do I need to uninstall Perl Directory ActiveState which got installed on C directory rather then D directory. Is there an easy way to fix this or do I need to uninstall ActiveState and delete directories and reinstall to D drive? How Do ensure that ActivePerl gets installed on D directory? THanks Doug

        In windows Perl can be installed in any directory or hard drive on the system, you can have many different versions of Perl installed also.

        When you install ActiveState Perl or Strawberry Perl on windows the installer should allow you to pick the location to install Perl to, the installers also likes to add the path to Perl in the windows environment variable "PATH". This gives your Perl script the ability to use the shebang #!perl otherwise if there is no environment variable for the Perl version you want to run. Then you will need to set your shebang to the full path to the Perl interpreter you want to use like #!C:/Perl/bin/perl.exe

        The windows environment variable's read from top to bottom or from left to right and will only use the first "PATH" to Perl it reads, some windows versions let you move environment variables around so you can keep a copy of it. Not all uninstallers will remove the environment variable, so that can cause a problem.

        Good Luck,

Re: Which Perl software Windows 2008
by Anonymous Monk on Sep 14, 2016 at 23:04 UTC

    Why? Do you have a test suite? If the program hasn't changed, changing perl gains you very little or nothing