[Catalyst] Catalyst::Model::CDBI::CRUD
Danijel Milicevic
Danijel.Milicevic at rawmode.org
Fri Mar 11 20:17:57 CET 2005
Hello Robert,
> The error i'm getting is:
>
> Couldn't render template "plugin error - Null filename used at (eval 81)
> line 2. ...propagated
> at /usr/local/lib/perl5/site_perl/5.8.6/Template/Plugin/Class.pm line
> 16. "
try adding this to your MyApp::V::TT.pm:
use Template::Constants qw/:debug/;
and also force the debug screen, via (quoted from perldoc
Catalyst::Manual::Cookbook):
Force debug screen
You can force Catalyst to display the debug screen
at the end of the request by placing a die() call
in the _end action.
__PACKAGE__->action(
'!end' => sub {
my ( $self, $c ) = @_;
die "testing";
}
);
If you're tired of removing and adding this all the
time, you can easily add a condition. for example:
die "Testing" if $c->param->{dump_info};
Regards,
Danijel
More information about the Catalyst
mailing list