X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FCookbook.pod;h=0b7b2d9262b38d55d82e856ab9c5158c2aec022b;hp=f17c704629539aab62d183f31d09be954cbb91bb;hb=aff93052863e06b3f0b8b8e76e313156582fd78e;hpb=3cb1db8ca312e1a9c16cbf31543858dd98653ad1 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