Subject: | backticks test in ext.t uses "perl" not $^X |
Is there a reason why the backticks test in ext.t uses "perl" and not $^X? I ask because the perl
in the path may be a completely different version of perl to the one that is running the tests and
this causes the test to fail. In my particular example $PERL5OPT has been set in the
environment and this results in the Config module being loaded which breaks because the perl I
am using is v5.10 and the perl in the path is v5.8.8. Changing to use $^X fixes the problem. I
don't know if this causes a portability issue (the other idea would be to localize $PERL5OPT
before running the backticks test).
I spotted this using svn ShipWright module which forces $PERL5OPT before running tests.