in reply to targetting for multiple perl versions

If your using windows, you could pack the desired script and modules into an exe with one of the many tools available, I use perlapp (comes with AS Perl Devkit but its kind of pricey). Then you can distribute it freely.
  • Comment on Re: targetting for multiple perl versions

Replies are listed 'Best First'.
Re^2: targetting for multiple perl versions
by Anonymous Monk on Sep 30, 2015 at 03:02 UTC

    Then you can distribute it freely.

    :) Nope. When there are conditions its not "free".

Re^2: targetting for multiple perl versions
by dasgar (Priest) on Sep 30, 2015 at 19:01 UTC

    I agree with the general concept of packaging the Perl script into a stand alone executable. That's the approach that I would take. It gives you the benefit of not having to worry about the Perl environment on the "production" systems.

    The method that I personally would go with is to use the pp utility from PAR::Packer. It will basically package your script, needed modules (and libraries and files) along with the Perl interpreter into a stand alone executable that can be run on other systems that are running the same (or compatible) OS used to run the pp utility.