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

If you are making the module compatible with older versions of Perl, I don't think you can count on them having a current version of ExtUtils::MakeMaker. There can be weird system incompatibility issues that prevent it from being installed.

Replies are listed 'Best First'.
Re^4: Call for testers: File::Path
by jettero (Monsignor) on May 28, 2007 at 11:16 UTC
    Indeed. The usual construct is something like ($] < 5.008 ? (HERATIC_OPT => "something") : ()) in your WriteMakefile() arguments.

    -Paul

      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