Cache::YAMLCache -- implements the Cache interface.
The YAMLCache class implements the Cache interface by inheriting from the Cache::FileCache module and, instead of using the Storable module for doing cache writes, it saves the data to the filesystem as YAML data.
use Cache::YAMLCache; my $cache = new Cache::YAMLCache( { 'namespace' => 'MyNamespace', 'default_expires_in' => 600 } ); See Cache::Cache and Cache::FileCache for the usage synopsis.
See Cache::Cache for the API documentation, and Cache::FileCache for information about the methods this object exposes since Cache::YAMLCache overrides only private methods.
See Cache::FileCache for what your available options are.
See Cache::FileCache for default properties. In fact, see Cache::FileCache for pretty much everything.
Original author: Michael Nachbaur <mike@nachbaur.com>
Last author: $Author: nachbaur $
Copyright (C) 2005 Michael Nachbaur
To install Cache::YAMLCache, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Cache::YAMLCache
CPAN shell
perl -MCPAN -e shell install Cache::YAMLCache
For more information on module installation, please visit the detailed CPAN module installation guide.