[Catalyst-commits] r7287 - trunk/examples/CatalystAdvent/root/2007

jayk at dev.catalyst.perl.org jayk at dev.catalyst.perl.org
Wed Dec 12 18:13:34 GMT 2007


Author: jayk
Date: 2007-12-12 18:13:34 +0000 (Wed, 12 Dec 2007)
New Revision: 7287

Modified:
   trunk/examples/CatalystAdvent/root/2007/11.pod
Log:
Fixing example code typos - trying to be friendly to the cut-n-pasters


Modified: trunk/examples/CatalystAdvent/root/2007/11.pod
===================================================================
--- trunk/examples/CatalystAdvent/root/2007/11.pod	2007-12-12 16:10:53 UTC (rev 7286)
+++ trunk/examples/CatalystAdvent/root/2007/11.pod	2007-12-12 18:13:34 UTC (rev 7287)
@@ -129,7 +129,7 @@
     # Never cache the result of a login attempt
     $c->stash->{'cachecontrol'}{'processlogin'} = 0;
     
-    if ($c->authenticte({ ... })) {
+    if ($c->authenticate({ ... })) {
         # ...
     }
  }
@@ -164,7 +164,6 @@
          # cache time set. 
          
          foreach my $section ( keys %{$c->stash->{'cachecontrol'}} ) {
-             my $time = ;
              
              # if the currently selected cache-control element is less
              # than the page's cache-time - we drop the cache-time to 




More information about the Catalyst-commits mailing list