Live app test, Cache::Store::Memory
[catagits/Catalyst-Plugin-Cache.git] / lib / Catalyst / Plugin / Cache / Store / Memory.pm
CommitLineData
33002c69 1#!/usr/bin/perl
2
3package Catalyst::Plugin::Cache::Store::Memory;
4
5use strict;
6use warnings;
7
8use Catalyst::Plugin::Cache::Backend::Memory;
9
10sub 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
23Catalyst::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