in reply to Re^3: CPAN newbie troubles
in thread CPAN newbie troubles

die "OS unsupported\n";

I've seen it somewhere that, in this instance, you need the Makefile.PL to exit(0). I think a die() in the Makefile.PL still results in a 'FAIL' report (or, at least, has some undesirable consequence).

Cheers,
Rob

Replies are listed 'Best First'.
Re^5: CPAN newbie troubles
by ikegami (Patriarch) on Jan 05, 2011 at 01:04 UTC

    No, it's a special case. The code is copied from Win32 and it's explicitly mentioned in the CPAN documentation the OP is quoting.

    the recommend approach is to either die in the Makefile.PL or [...] with one of the following messages: [...]OS unsupported.

    Emphasis mine.

    Sample NA report from die "OS unsupported\n".

    Update: Added last paragraph.