GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Text::MicroMason::Cache::Simple(3) User Contributed Perl Documentation Text::MicroMason::Cache::Simple(3)

Text::MicroMason::Cache::Simple - Basic Cache with Minimal Interface

This trivial cache class just stores values in a hash.

It does not perform any of the following functions: expiration, cache size limiting, flatening of complex keys, or deep copying of complex values.

new()
  $cache = Text::MicroMason::Cache::Simple->new();
    
get()
  $value = $cache->get( $key );
    

Retrieves the value associated with this key, or undef if there is no value.

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

Stores the provided value in association with this key.

clear()
  $cache->clear();
    

Removes all data from the cache.

For uses of this cache class, see Text::MicroMason::CompileCache.

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.

2019-06-27 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.