[Catalyst] Documentation bug in Catalyst::Manual::Cookbook

Will Hawes info at whawes.co.uk
Thu Jun 23 13:55:48 CEST 2005


Under "Force debug screen" in the version currently on CPAN:

die "Testing" if $c->params->{dump_info};

Including this in your app result in an error similar to:

Caught exception "Can't locate object method "params" via package "Hops" at E:/Hops-0.04/script/../lib/Hops.pm line 49."

It should read:

die "Testing" if $c->req->params->{dump_info};

WH




More information about the Catalyst mailing list