#!/usr/bin/perl
package Catalyst::Plugin::Cache;
-use base qw(Class::Accessor::Fast Class::Data::Inheritable);
+use Moose;
-use strict;
-use warnings;
+with 'Catalyst::ClassData';
-our $VERSION = "0.10";
+our $VERSION = "0.12";
use Scalar::Util ();
use Catalyst::Utils ();
use Catalyst::Plugin::Cache::Curried;
__PACKAGE__->mk_classdata( "_cache_backends" );
-__PACKAGE__->mk_accessors( "_default_curried_cache" );
+has _default_curried_cache => (
+ is => 'rw',
+);
+no Moose;
sub setup {
my $app = shift;