updated cookbook.
Marcus Ramberg [Thu, 10 Mar 2005 23:20:47 +0000 (23:20 +0000)]
Changes
lib/Catalyst/Manual/Cookbook.pod

diff --git a/Changes b/Changes
index 6fb7d1f..b956955 100644 (file)
--- 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
index f17c704..0b7b2d9 100644 (file)
@@ -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