The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Test::AutoBuild::Cache - Caching of build results

SYNOPSIS

  use Test::AutoBuild::Cache;

  my $cache = Test::AutoBuild::Cache->new(cache_root => $directory,
                                          timestamp => $boolean);

  my $up2date = $cache->test_cache($module);

DESCRIPTION

This module provides caching for module builds. It caches installed files in the virtual root, generated packages, and status metadata.

METHODS

    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.

AUTHORS

Dennis Gregorovic <dgregorovic@alum.mit.edu>

COPYRIGHT

Copyright (C) 2003-2004 Dennis Gregorovic <dgregorovic@alum.mit.edu>

SEE ALSO

perl(1)

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 46:

You can't have =items (as at line 63) unless the first thing after the =over is an =item

Around line 381:

=back doesn't take any parameters, but you said =back 4