[tapx-dev] I can has Carp?

Andy Armstrong andy at hexten.net
Mon Aug 27 23:49:34 BST 2007


On 27 Aug 2007, at 19:17, Eric Wilhelm wrote:

> # from Andy Armstrong
> # on Monday 27 August 2007 11:11 am:
>
>>> Can we simply do the normal 'use Carp;' and 'croak(@message)'
>>> instead?
>> I'd have thought so.
>
> Ok, I'll make that switch today.
>
>> I tend to use die for assertions, croak for everything else. Any
>> objections to that?
>
> If you mean "die for self-assertions" and "croak for API
> errors/validation", that's good for me.

Yup, that's it :)

-- 
Andy Armstrong, hexten.net



More information about the tapx-dev mailing list