[Catalyst] TT2 + CP::Authentication + DBIC gotcha

Jonathan Swartz swartz at pobox.com
Fri Jul 13 21:59:09 GMT 2007


On Jul 13, 2007, at 12:13 PM, Perrin Harkins wrote:

> On 7/13/07, J. Shirley <jshirley at gmail.com> wrote:
>> As anecdotal evidence to its insidious behavior, I've personally been
>> involved in a 5 man debugging effort that took 13 days (not full  
>> days,
>> but probably an average of 3-4 hours a day * 5 people * 13 days) to
>> finally find the bug.  Which was simply "my $foo = $bar if $baz;"
>>
>> The reason why it was so hard to track down was because ot he
>> wonderful undefined behavior.
>
> I had a similar experience, which is why I always mention when I see
> it in other people's code now.  It's a real problem and very hard to
> track down if you haven't heard of it before.
>

I have the same experience every few years, and I've never been able  
to understand why this can't simply be detected and at least flagged  
as an error or warning in the Perl compiler. Does anyone know?

It's one of the few things about Perl that gets me angry. :)

Jon




More information about the Catalyst mailing list