Text::MicroMason::Cache::Null(3pm)

Text::MicroMason::Cache::Null3pm

Trivial cache with no data storage

Overview

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.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 6 times.

  1. 6.0–7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

From libtext-micromason-perl 2.23-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.