Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • As the saying goes, "You're doing it wrong". Simply install the other Perl versions under /opt/perl, just like the INSTALL [cpan.org] says. That way, you can run your tests within one environment using all the different Perl versions:

    perl -w Makefile.PL && make test # Run tests using the stock Perl
    /opt/perl/bin/perl5.6.2 Makefile.PL && make test # use 5.6.2
    /opt/perl/bin/perl5.10.0 Makefile.PL && make test # use 5.10

    I guess you could even write a plug-in for Module::Release [cpan.org] to check the tes

    • I have tried that in the past, as you say INSTALL suggests how to install Perl on a box in a different location. However what I found was CPAN got confused and modules from the different Perl versions got screwed up. I know it's supposed to work and it it did on my box for a while but once it' started going screwy I thought it best to put the other version of Perl in it's own space where it can't screw anything up with the vendors standard version.

      At the same time I also wanted to test in a complete comparable environment, so I've got Perl 5.6.1 on Red Hat Linux 7.3 and CentOS 2.1 to play with. Who in their right mind would run Perl 5.6 on a modern system?

      Perhaps I'll try again with Perl 5.6.2 and 5.8.8 to see if I can get them to coexist with vendor supplied 5.10 on my Debian Lenny box.

      --
      -- "It's not magic, it's work..."
      • Who in their right mind would run Perl 5.6 on a modern system?

        No one, which is why it makes so little sense to support them with new code.

        You're talking about people who refuse to update their software. Their defining characteristic is that they refuse to update their software. Thus it makes little sense to me to offer them new versions of software for them not to upgrade to.