Text::MicroMason::Cache::Null(3) Trivial Cache with No Data Storage

DESCRIPTION

This trivial cache class supports the cache interface but doesn't store or retrieve any values.

Public Methods

new()
  $cache = Text::MicroMason::Cache::Null->new();
get()
  undef = $cache->get( $key );

Does nothing.

set()
  $cache->set( $key, $value );

Returns the provided value.

clear()
  $cache->clear();

Does nothing.