From: Yuval Kogman Date: Fri, 21 Jul 2006 19:01:22 +0000 (+0000) Subject: Zap Cache::Backend::Util - it's not really usefil X-Git-Tag: v0.01~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Cache.git;a=commitdiff_plain;h=e6fc0998d53a6f164a8513d506c938cbeace40cc Zap Cache::Backend::Util - it's not really usefil --- diff --git a/lib/Catalyst/Plugin/Cache/Backend/Util.pm b/lib/Catalyst/Plugin/Cache/Backend/Util.pm deleted file mode 100644 index 38ccc0f..0000000 --- a/lib/Catalyst/Plugin/Cache/Backend/Util.pm +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/perl - -package Catalyst::Plugin::Cache::Backend::Util; - -use strict; -use warnings; - -sub default_ttl { - my ( $self, $key ) = @_; - 2 * 60 * 60; # 2 hours -} - -sub expires { - my ( $self, $key ) = @_; - time() + $self->default_ttl( $key ); -} - -sub serialize_value { - -} - -sub deserialize_value { - -} - -__PACKAGE__; - -__END__ - -=pod - -=head1 NAME - -Catalyst::Plugin::Cache::Backend::Util - Useful base class methods for cache -backends. - -=head1 SYNOPSIS - - use Catalyst::Plugin::Cache::Backend::Util; - -=head1 DESCRIPTION - -=cut - -