[Perl5-syntax] Adding Moose type checking to Method::Signatures

Michael G Schwern schwern at pobox.com
Mon Mar 7 09:18:17 GMT 2011


On 2011.3.7 6:55 PM, Buddy Burden wrote:
>> So just die.
> 
> Okey dokey.  I'll just change my warn to a die (or, more accurately,
> my carp to a croak) and change Test::Warn to Test::Exception and that
> should pretty much be it.  What do you want to change "{ warn => 0 }"
> to? "{ die => 0 }"?  That doesn't seem right.  Maybe something longer,
> to make it more obvious that you're doing something subversive?
> Perhaps "{ no_fatal_unimplemented_type_errors => 1 }" or somesuch?

No option, just die.

If a real use case comes up later for continuing past unimplemented features
(and if we have some) we can bring it back up then.


-- 
'All anyone gets in a mirror is themselves,' she said. 'But what you
gets in a good gumbo is everything.'
    -- "Witches Abroad" by Terry Prachett



More information about the Perl5-syntax mailing list