Query: text::micromason::cache::file
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MicroMason::Cache::File(3pm) User Contributed Perl Documentation MicroMason::Cache::File(3pm)NAMEText::MicroMason::Cache::File - Basic Cache with File-Based ExpirationDESCRIPTIONThis simple cache class expects the keys provided to it to be file pathnames, and considers the cached value to have expired if the corresponding file is changed. It does not perform the following functions: cache size limiting, or deep copying of complex values. Public Methods new() $cache = Text::MicroMason::Cache::File->new(); get() $value = $cache->get( $filename ); Retrieves the value associated with this key, or undef if there is no value. set() $cache->set( $filename, $value ); Stores the provided value in association with this key. clear() $cache->clear(); Removes all data from the cache.SEE ALSOFor 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. perl v5.10.1 2007-12-21 MicroMason::Cache::File(3pm)
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
Installing Dash Shell on OS X Lion |
Introduction |
Detecting unused variables... |
Weird 'find' results |