[Catalyst-commits] r13372 - Catalyst-Plugin-Session/0.00/trunk/lib/Catalyst/Plugin

antgel at dev.catalyst.perl.org antgel at dev.catalyst.perl.org
Tue Jun 29 14:06:15 GMT 2010


Author: antgel
Date: 2010-06-29 15:06:15 +0100 (Tue, 29 Jun 2010)
New Revision: 13372

Modified:
   Catalyst-Plugin-Session/0.00/trunk/lib/Catalyst/Plugin/Session.pm
Log:
Fix over-long example of forever session.


Modified: Catalyst-Plugin-Session/0.00/trunk/lib/Catalyst/Plugin/Session.pm
===================================================================
--- Catalyst-Plugin-Session/0.00/trunk/lib/Catalyst/Plugin/Session.pm	2010-06-29 02:11:46 UTC (rev 13371)
+++ Catalyst-Plugin-Session/0.00/trunk/lib/Catalyst/Plugin/Session.pm	2010-06-29 14:06:15 UTC (rev 13372)
@@ -788,7 +788,8 @@
 
 For example:
 
-    __PACKAGE__->config('Plugin::Session' => { expires => 1000000000000 }); # forever
+    __PACKAGE__->config('Plugin::Session' => { expires => 10000000000 }); # "forever" 
+    (NB If this number is too large, Y2K38 breakage could result.)
 
     # later
 




More information about the Catalyst-commits mailing list