Live app test, Cache::Store::Memory
[catagits/Catalyst-Plugin-Cache.git] / lib / Catalyst / Plugin / Cache / Store / Memory.pm
1 #!/usr/bin/perl
2
3 package Catalyst::Plugin::Cache::Store::Memory;
4
5 use strict;
6 use warnings;
7
8 use Catalyst::Plugin::Cache::Backend::Memory;
9
10 sub setup_memory_cache_backend {
11     my ( $app, $name ) = @_;
12     $app->register_cache_backend( $name => Catalyst::Plugin::Cache::Backend::Memory->new );
13 }
14
15 __PACKAGE__;
16
17 __END__
18
19 =pod
20
21 =head1 NAME
22
23 Catalyst::Plugin::Cache::Store::Memory - Stupid memory based cache store plugin.
24
25 =head1 SYNOPSIS
26
27         use Catalyst::Plugin::Cache::Store::Memory;
28
29 =head1 DESCRIPTION
30
31 =cut
32
33