Text::MicroMason::Cache::Null - Trivial Cache with No Data Storage
This trivial cache class supports the cache interface but doesn't store or retrieve any values.
$cache = Text::MicroMason::Cache::Null->new();
undef = $cache->get( $key );
Does nothing.
$cache->set( $key, $value );
Returns the provided value.
$cache->clear();
For uses of this cache class, see Text::MicroMason::ExecuteCache.
Additional cache classes are available in the Text::MicroMason::Cache:: namespace, or select other caching modules on CPAN that support the interface described in Cache::Cache.
For distribution, installation, support, copyright and license information, see Text::MicroMason::Docs::ReadMe.
To install Text::MicroMason, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::MicroMason
CPAN shell
perl -MCPAN -e shell install Text::MicroMason
For more information on module installation, please visit the detailed CPAN module installation guide.