Test::AutoBuild::Cache - Caching of build results
use Test::AutoBuild::Cache; my $cache = Test::AutoBuild::Cache->new(cache_root => $directory, timestamp => $boolean); my $up2date = $cache->test_cache($module);
This module provides caching for module builds. It caches installed files in the virtual root, generated packages, and status metadata.
my $cache = Test::AutoBuild::Cache->new(cache_root=> $directory, timestamp => $boolean);
Creates a new module cache in the directory specified by cache_root parameter. If the timestamp parameter evaluates to true, then when checking if a module cache is uptodate, it will compare the timestamps on every single file. This is overkill for most situations, since the respository module informs the build whether there were any changes in source control since previous build. In particular for CVS, this causes caching to fail altogether since 'cvs update' always touchs files in the 'CVS' directory.
cache_root
timestamp
Dennis Gregorovic <dgregorovic@alum.mit.edu>
Copyright (C) 2003-2004 Dennis Gregorovic <dgregorovic@alum.mit.edu>
perl(1)
2 POD Errors
The following errors were encountered while parsing the POD:
You can't have =items (as at line 63) unless the first thing after the =over is an =item
=back doesn't take any parameters, but you said =back 4
To install Test::AutoBuild, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::AutoBuild
CPAN shell
perl -MCPAN -e shell install Test::AutoBuild
For more information on module installation, please visit the detailed CPAN module installation guide.