NAME
Apache::XPP::Cache::Store::File - flatfile cache store
SYNOPSIS
...
REQUIRES
Apache::XPP::Cache::Store FileHandle File::stat
EXPORTS
Nothing
DESCRIPTION
Apache::XPP::Cache::Store::File handles the storing of data in flat file form on behalf of Apache::XPP::Cache.
METHODS
new
( $name, $group, \%instance_data, \$content )-
Creates a new File store object. The contents of %instance_data will be placed in the object as instance data (for Apache request object, etc.).
location
( $name, $group )-
Returns the fully qualified filename to the store file for the specified name/group pair. Files are stored by their $name in the directory $group. If the directory $group does not exist, it will be created with permissions of 0777 (use the
umask
function to change these permissions to more desirable ones). cachedir
( )-
Returns the directory in which file caches are stored.
content
( [ \$content ] )-
Sets the store object's content to $content and returns TRUE. If $content is omitted, returns the content of the store object.
is_expired
( )-
Removes the store file.
mtime
( )mtime
( $name, $group )-
Returns the modification time of the specified store.
REVISION HISTORY
$Log: File.pm,v $
Revision 1.9 2002/01/16 21:06:01 kasei
Updated VERSION variables to 2.01
Revision 1.8 2002/01/15 07:34:22 kasei
From: Pierre Phaneuf <pp@ludusdesign.com>
Subject: [Xpp-general] small warning fix
Date: Mon, 14 Jan 2002 21:51:10 -0500
Message-Id: <3C43991E.571FAC9E@ludusdesign.com>
Fixes regex range warning.
Revision 1.7 2000/09/13 21:00:52 dougw
Small change to line 165.
Revision 1.6 2000/09/11 20:12:23 david
Various minor code efficiency improvements.
Revision 1.5 2000/09/07 19:01:57 dougw
Pod fixin's
AUTHORS
Greg Williams <greg@cnation.com>
SEE ALSO
perl(1). Apache::XPP Apache::XPP:Cache