File::Properties::PropsCache - Perl module implementing a cache for disk file properties
use File::Properties::PropsCache; my $fpc = File::Properties::PropsCache->new('cache.db'); my $fp = $fpc->properties('/path/to/file'); print "File properties:\n" . $fp->string . "\n";
File::Properties::PropsCache is a Perl module implementing a cache for disk file properties.
File::Properties::PropsCache is a Perl module implementing a cache for disk file properties. Its only purpose is to provide an alternative interface for cache creation and construction for the File::Properties class.
my $opts = {'CachedPath' => 1}; my $fpc = File::Properties::PropsCache->new($path, $opts);
Constructs a new File::Properties::PropsCache object.
my $fp = $fpc->properties($path); print "Properties of $path:\n" . $fp->string . "\n";
Construct the File::Properties object for the file at $path.
File::Properties, File::Properties::Cache
Brendt Wohlberg <wohl@cpan.org>
Copyright (C) 2010,2011 by Brendt Wohlberg
This library is available under the terms of the GNU General Public License (GPL), described in the LICENSE file included in this distribution.
To install File::Properties, copy and paste the appropriate command in to your terminal.
cpanm
cpanm File::Properties
CPAN shell
perl -MCPAN -e shell install File::Properties
For more information on module installation, please visit the detailed CPAN module installation guide.