Cache::AgainstFile::Null - backend for Cache::AgainstFile to disable caching


Cache-AgainstFile documentation  | view source Contained in the Cache-AgainstFile distribution.

Index


NAME

Top

Cache::AgainstFile::Null - backend for Cache::AgainstFile to disable caching

SYNOPSIS

Top

	my $cache = new Cache::AgainstFile(
		\&loader, 
		{
			Method => 'Null',
			...
		}
	);

	$data = $cache->get($filename);

DESCRIPTION

Top

This implementation simply calls the cache loader each time get() is called, thus no caching is done. It is useful for testing when you want to quickly disable caching by flipping the Method passed to Cache::AgainstFile.

OPTIONS

Top

There are no additional options for this backend

VERSION

Top

$Revision: 1.5 $ on $Date: 2005/05/26 15:52:19 $ by $Author: simonf $

AUTHOR

Top

John Alden <cpan _at_ bbc _dot_ co _dot_ uk>

COPYRIGHT

Top


Cache-AgainstFile documentation  | view source Contained in the Cache-AgainstFile distribution.