in reply to Re: targetting for multiple perl versions
in thread targetting for multiple perl versions

CPAN libraries are version-specific

This is a gross overstatement. Few are version specific unless we're talking about <= 5.6 and that would be ludicrous to discuss in this context in 2015.

In a properly “hardened” production environment, you will not be able to install the packages that you need,

Also overstated. It depends entirely upon your build system.

  • Comment on Re^2: targetting for multiple perl versions

Replies are listed 'Best First'.
Re^3: targetting for multiple perl versions
by locked_user sundialsvc4 (Abbot) on Sep 30, 2015 at 12:38 UTC

    Lessee ... the earliest “production Perl” that I have seen in the field is 5.4.   (Similar experiences with other languages, which have changed far more from point-release to point-release, so with Perl we’re lucky, I guess.)   Nevertheless, any large difference of language environments (or library versions, etc.) between Dev and Prod is a big issue that needs to be resolved at its source ... lest you “break production.”

    As to the second ¶, there are two kinds of “shops”:   professionals, and (by the seat of our ...) “pantsers.”   Hopefully, you work for the former.   In which case, “prod doesn’t change much,” and “you can’t change it at all.”   It is often better to change the development environment to exactly match production, even though the developers will glare at you.