-
-
13 Oct 2021 14:56:11 UTC
- Distribution: CHI
- Module version: 0.61
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (21)
- Testers (1474 / 40 / 0)
- Kwalitee
Bus factor: 2- 83.40% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (83KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Carp::Assert
- Class::Load
- Data::UUID
- Digest::JHash
- Digest::MD5
- File::Spec
- Hash::MoreUtils
- JSON::MaybeXS
- List::MoreUtils
- Log::Any
- Moo
- MooX::Types::MooseLike
- MooX::Types::MooseLike::Base
- MooX::Types::MooseLike::Numeric
- Storable
- String::RewritePrefix
- Task::Weaken
- Time::Duration
- Time::Duration::Parse
- Time::HiRes
- Try::Tiny
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
CHI::Driver::CacheCache - CHI wrapper for Cache::Cache
VERSION
version 0.61
SYNOPSIS
use CHI; my $cache = CHI->new( driver => 'CacheCache', cc_class => 'Cache::FileCache', cc_options => { cache_root => '/path/to/cache/root' }, );
DESCRIPTION
This driver wraps any Cache::Cache cache.
CONSTRUCTOR OPTIONS
When using this driver, the following options can be passed to CHI->new() in addition to the CHI.
- cc_class
-
Name of Cache::Cache class to create, e.g. Cache::FileCache. Required.
- cc_options
-
Hashref of options to pass to Cache::Cache constructor. Required.
SEE ALSO
AUTHOR
Jonathan Swartz <swartz@pobox.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2021 by Jonathan Swartz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install CHI, copy and paste the appropriate command in to your terminal.
cpanm CHI
perl -MCPAN -e shell install CHI
For more information on module installation, please visit the detailed CPAN module installation guide.