[Catalyst] Re: Perl::Rails?

Brandon Black blblack at gmail.com
Fri Dec 9 17:48:15 CET 2005


On 12/9/05, Matthew Lawrence <matthew.lawrence at ehsbrann.com> wrote:
> Brandon Black wrote:
> > On 12/9/05, Shlomi Fish <shlomif at iglu.org.il> wrote:
> >
> >>I can also add poor debugging ability to it. One essentially cannot debug
> >>functions in the core Controller Catalyst components, due to what I was told
> >>were "nested eval"'s. I don't care if it's a bug of perl or Catalyst - I
> >>don't care - I want to debug it in style. What I restorted to was to extract
> >>code out of my application and debug that, but it's a kludge.
> >
> > The bigger issue, IMHO, is that exceptions provide no stack trace.
>
> You can cause carp to act like confess globally by saying
> $Carp::Verbose++ somewhere nice and early. Or use Carp qw( verbose ) to
> have it at compile time.
>
> That should mean that you get stack traces for every error.
>

Except that not every CPAN module one might use uses carp/croak.  Some
just die on error.

-- Brandon



More information about the Catalyst mailing list