in reply to Re^3: Call for testers: File::Path
in thread Call for testers: File::Path

Indeed. The usual construct is something like ($] < 5.008 ? (HERATIC_OPT => "something") : ()) in your WriteMakefile() arguments.

-Paul

Replies are listed 'Best First'.
Re^5: Call for testers: File::Path
by grinder (Bishop) on May 28, 2007 at 13:56 UTC

    Bingo.

    You're quite right about this, except that the decision needs to be predicated on the version of EUMM installed, rather than the perl version. I'm quite comfortable about leaving the key in and letting EUMM complain, since the main purpose of the warning is to say "Hey, I don't know what this is", the subtext being "Did you type a key incorrectly?". But not letting it grumble is even better.

    • another intruder with the mooring in the heart of the Perl

      I'm quite comfortable about leaving the key in and letting EUMM complain

      The only problem there is that someone who is inexperienced might not understand that the siginificance of the warning is ... ummm ... not significant at all. And if there's a failure in the test suite, then that warning becomes elevated to the level of "red herring" ... which is why, if it were up to me (which it isn't), the 'LICENSE' parameter would not be passed to a version of EU::MM that didn't understand it.

      Cheers,
      Rob
        use ExtUtils::MakeMaker 6.31; ExtUtils::MakeMaker version 6.31 required--this is only version 6.30 a +t - line 1. BEGIN failed--compilation aborted at - line 1.