1CHI::Driver::CacheCacheU(s3e)r Contributed Perl DocumentaCtHiIo:n:Driver::CacheCache(3)
2
3
4

NAME

6       CHI::Driver::CacheCache - CHI wrapper for Cache::Cache
7

VERSION

9       version 0.44
10

SYNOPSIS

12           use CHI;
13
14           my $cache = CHI->new(
15               driver     => 'CacheCache',
16               cc_class   => 'Cache::FileCache',
17               cc_options => { cache_root => '/path/to/cache/root' },
18           );
19

DESCRIPTION

21       This driver wraps any Cache::Cache cache.
22

CONSTRUCTOR OPTIONS

24       When using this driver, the following options can be passed to
25       CHI->new() in addition to the CHI.
26
27       cc_class
28           Name of Cache::Cache class to create, e.g. Cache::FileCache.
29           Required.
30
31       cc_options
32           Hashref of options to pass to Cache::Cache constructor. Required.
33

SEE ALSO

35       CHI
36

AUTHOR

38       Jonathan Swartz <swartz@pobox.com>
39
41       This software is copyright (c) 2011 by Jonathan Swartz.
42
43       This is free software; you can redistribute it and/or modify it under
44       the same terms as the Perl 5 programming language system itself.
45
46
47
48perl v5.12.3                      2011-03-17        CHI::Driver::CacheCache(3)
Impressum