On Sep 1, 2008, at 17:22, Aristotle Pagaltzis wrote:
Ask the maintainers of M::B, EU::MM and M::I to all export a
`halt` function that does just this? That would also provide
a convenient spot in the respective modules’ docs for related
CPAN Testers arcana, so people wouldn’t have to stumble onto a
wiki page in the bottom of a locked cabinet stuck in a disused
lavatory with a sign on the door saying “beware the leopard”
in order to learn these trivia.
That seems entirely reasonable to me. This would do it, I guess:
sub halt {
my ($self, $msg) = @_;
require Carp;
carp($msg);
exit;
}
Seem reasonable to people? If so, I'll submit it to Module::Build.
Best,
David