Do different versions of Perl require different CPAN module installations?
Posted
by Leonard
on Stack Overflow
See other posts from Stack Overflow
or by Leonard
Published on 2010-06-13T20:21:09Z
Indexed on
2010/06/13
20:22 UTC
Read the original article
Hit count: 413
We have a server farm that we are slowly migrating to a new version of Perl (5.12.1). We are currently running 5.8.5. The OS will be upgraded from RedHat 4 to RedHat 5 as well, but RedHat 5 is still back on Perl 5.8.8. Thus for a while in our source tree we'll be supporting two versions of Perl.
I have been told to install the new version of Perl into our source tree, and also all of the CPAN modules we currently use. I was actualy told to 'compile' the modules with the correct version of Perl. I'm confused by this. Do some modules actually configure themselves differently for different versions of Perl? Given this, I assume I should configure a CPAN directory for each version of Perl in our tree?
Any information or 'gotchas' about this scenario?
© Stack Overflow or respective owner