[Catalyst] Confused by detach
Cory Watson
jheephat at gmail.com
Thu Oct 20 22:27:03 CEST 2005
On Oct 20, 2005, at 12:58 PM, Sebastian Riedel wrote:
>
> The problem is "at /usr/lib/perl5/site_perl/5.8.6/Catalyst/
> Dispatcher.pm line 36", which is appended to the exception text.
> We can only catch exceptions that eq $Catalyst::DETACH, wonder why
> this happens.
>
> All versions of Perl i tested didn't append file and line to
> exceptions ending with a newline.
Running your little test via the command line (perl -e) does NOT
print the line number, but any time I die in a script it DOES append
the line number.
Fantastic! I'll begin finding why ;) Is anyone else on FC4 with 5.8.6?
Cory Watson
http://www.onemogin.com
More information about the Catalyst
mailing list