Bric::App::ReqCache - Object for managing Application-wide global data.
$Revision: 1.2.2.2 $
$Date: 2001/11/06 23:18:32 $
use Bric::App::ReqCache;
my $rc = Bric::App::ReqCache->new;
$rc = $rc->set($key, $val);
my $val = $rc->get($key);
This class offers simple caching of data for the length of an Apache request. It is cleaned out during the Apache Cleanup phase. If you need to cache data beyond the current request, use Bric::App::Cache or Bric::App::Session.
Instantiates a Bric::App::ReqCache object. No initial values may be passed.
Throws:
Unable to instantiate cache.
Side Effects: NONE.
Notes: NONE.
Not implemented - not needed.
Throws:
Bric::App::ReqCache::lookup() method not implemented.
Side Effects: NONE.
Notes: NONE.
Not implemented - not needed.
Throws:
Bric::App::ReqCache::list() method not implemented.
Side Effects: NONE.
Notes: NONE.
Dummy method to prevent wasting time trying to AUTOLOAD DESTROY.
Throws: NONE.
Side Effects: NONE.
Notes: NONE.
Not implemented - not needed.
Throws:
Bric::App::ReqCache::list_ids() method not implemented.
Side Effects: NONE.
Notes: NONE.
Returns a value for the specified key. Call $rc->set($key, $value) to store a value.
Throws: NONE.
Side Effects: NONE.
Notes: NONE.
Stores $value as referenced by $key. Call $rc->get($key) to retrieve $value.
Throws: NONE.
Side Effects: NONE.
Notes: NONE.
Clears the cache of all its values. Called during the Apache cleanup phase.
Throws: NONE.
Side Effects: NONE.
Notes: NONE.
Returns a hash list of all the values currently in the cache.
Throws: NONE.
Side Effects: NONE.
Notes: NONE.
NONE.
NONE.
NONE.
NONE.
David Wheeler <david@wheeler.net>
perl(1), Bric (2), Bric::App::Cache(3), Bric::App::Session(4), Apache::Session(5)
Hey! The above document had some coding errors, which are explained below:
=back doesn't take any parameters, but you said =back 4
'=item' outside of any '=over'
=back doesn't take any parameters, but you said =back 4
=back without =over