Bric::App::Cache - Object for managing Application-wide global data.
$Revision: 1.2.2.4 $
$Date: 2001/11/06 23:18:32 $
use Bric::App::Cache;
my $c = Bric::App::Cache->new;
$c = $c->set($key, $val);
my $val = $c->get($key);
my $time = $c->get_lmu_time;
$c = $c->set_lmu_time;
This module uses a Cache::FileCache object to cache data that needs to persist across all processes and across all requests, through time and space.
Instantiates a Bric::App::Cache object. No initial values may be passed.
Throws:
Unable to instantiate cache.
Side Effects: NONE.
Notes: NONE.
Not implemented - not needed.
Throws:
Bric::App::Cache::lookup() method not implemented.
Side Effects: NONE.
Notes: NONE.
Not implemented - not needed.
Throws:
Bric::App::Cache::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::Cache::list_ids() method not implemented.
Side Effects: NONE.
Notes: NONE.
Returns a value for the specified key. Call $c->set($key, $value) to store a value.
Throws:
Unable to fetch value from the cache.
Side Effects: NONE.
Notes: NONE.
Stores $value as referenced by $key. Call $c->get($key) to retrieve $value.
Throws:
Unable to cache value.
Side Effects: NONE.
Notes: NONE.
Returns the epoch time when a user object was last modified.
Throws:
Unable to fetch value from the cache.
Side Effects: NONE.
Notes: NONE.
Sets the epoch time when a user object was last modified.
Throws:
Unable to cache value.
Side Effects: NONE.
Notes: NONE.
NONE.
NONE.
NONE.
NONE.
David Wheeler <david@wheeler.net>
perl(1), Bric (2), Bric::App::Session(3), Apache::Session(4)
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