[Catalyst-commits] r12097 - in trunk/examples/CatalystAdvent: . lib

matthewt at dev.catalyst.perl.org matthewt at dev.catalyst.perl.org
Tue Dec 1 02:03:17 GMT 2009


Author: matthewt
Date: 2009-12-01 02:03:16 +0000 (Tue, 01 Dec 2009)
New Revision: 12097

Modified:
   trunk/examples/CatalystAdvent/Makefile.PL
   trunk/examples/CatalystAdvent/lib/CatalystAdvent.pm
Log:
switch to Catalyst::Plugin::Cache

Modified: trunk/examples/CatalystAdvent/Makefile.PL
===================================================================
--- trunk/examples/CatalystAdvent/Makefile.PL	2009-12-01 02:00:34 UTC (rev 12096)
+++ trunk/examples/CatalystAdvent/Makefile.PL	2009-12-01 02:03:16 UTC (rev 12097)
@@ -11,7 +11,7 @@
 requires( Catalyst => '5.60' );
 requires( 'Catalyst::Plugin::DefaultEnd' );
 requires( 'Catalyst::Plugin::Unicode' );
-requires( 'Catalyst::Plugin::Cache::FileCache' );
+requires( 'Catalyst::Plugin::Cache' => '0.08' );
 requires( 'DateTime' );
 requires( 'File::stat' );
 requires( 'Pod::Xhtml' );

Modified: trunk/examples/CatalystAdvent/lib/CatalystAdvent.pm
===================================================================
--- trunk/examples/CatalystAdvent/lib/CatalystAdvent.pm	2009-12-01 02:00:34 UTC (rev 12096)
+++ trunk/examples/CatalystAdvent/lib/CatalystAdvent.pm	2009-12-01 02:03:16 UTC (rev 12097)
@@ -4,14 +4,20 @@
 use warnings;
 
 use Catalyst qw( Static::Simple
-                 Cache::FileCache
+                 Cache
                  DefaultEnd 
                  Unicode
               );
 
 our $VERSION = '0.03';
 
-__PACKAGE__->config( name => 'CatalystAdvent' );
+__PACKAGE__->config(
+  name => 'CatalystAdvent',
+  'Plugin::Cache' => { backend => {
+    class => 'Cache::FileCache',
+    namespace => 'CatalystAdvent',
+  } },
+);
 __PACKAGE__->setup;
 
 =head1 NAME




More information about the Catalyst-commits mailing list