From: Marcus Ramberg Date: Thu, 10 Mar 2005 23:20:47 +0000 (+0000) Subject: updated cookbook. X-Git-Tag: 5.7099_04~1770 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=aff93052863e06b3f0b8b8e76e313156582fd78e;hp=3cb1db8ca312e1a9c16cbf31543858dd98653ad1 updated cookbook. --- diff --git a/Changes b/Changes index 6fb7d1f..b956955 100644 --- a/Changes +++ b/Changes @@ -1,11 +1,14 @@ This file documents the revision history for Perl extension Catalyst. - +4.24 Xxx Mar 00 00:00:00 2005 + - updated cookbook example + 4.23 Wed Mar 09 20:00:00 2005 - no more regex actions in forward - added support for test directories t/m, t/v and t/c 4.22 Tue Mar 08 20:00:00 2005 - catch errors in application class + - handle die properly. 4.21 Sat Mar 05 17:00:00 2005 - fixed docs diff --git a/lib/Catalyst/Manual/Cookbook.pod b/lib/Catalyst/Manual/Cookbook.pod index f17c704..0b7b2d9 100644 --- a/lib/Catalyst/Manual/Cookbook.pod +++ b/lib/Catalyst/Manual/Cookbook.pod @@ -20,6 +20,11 @@ placing a die() call in the _end action. } ); +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}; + =head2 Disable statistics Just add this line to your application class if you don't want those nifty