Slash Boxes
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.
More | Login | Reply
Loading... please wait.
  • I just want to clarify the changes to CPAN/CPAN::Reporter.

    CPAN::Reporter does not check for a "missing library" string as CPANPLUS does, as I am not convinced that this is a robust approach. The actual ExtUtils::MakeMaker string includes the phrase "(probably harmless)" -- which implies that a harmless missing library could cause a legitimate test failure to be discarded, which we don't want.

    Instead, the change to CPAN fixes a bug where CPAN continued to try to make even if a Makefile was never created (resulting in a FAIL report).

    Going forward, a Makefile.PL (or Build.PL) can simply "exit 0" without generating a Makefile (or Build file) and CPAN will not continue a make attempt, nor will CPAN::Reporter issue a FAIL report. This "graceful exit" gives module authors a mechanism to check for non-perl dependencies and refuse to continue if they are not found.

    To make this process and the clumsy method for signaling "OS unsupported" easier for authors, David Cantrell has volunteering to put together some modules to help do the right thing in Makefile.PL. The first of these, Devel::CheckOS [], has been released already.

    -- dagolden

    • Thanks for the clarification David, and EvilDave++ for doing all the work on Devel::CheckOS.