Text::Same::Cache
A (planned) cache of ChunkedSource objects. For now there is just one method: get(), which returns a ChunkedSource object for a particular file.
my $cache = new Text::Same::Cache(); my $chunked_source = $cache->get($file);
See below. Methods private to this module are prefixed by an underscore.
Title : new Usage : $cache = new Text::Same::Cache(); Function: return a new, empty cache
Title : get Usage : my $chunked_source = $cache->get($file); Function: return a ChunkedSource object for the given file, possibly getting the ChunkedSource details from a cache
Kim Rutherford <kmr+same@xenu.org.uk>
Copyright 2005,2006 Kim Rutherford. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
This module is provided "as is" without warranty of any kind. It may redistributed under the same conditions as Perl itself.
To install Text::Same, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Same
CPAN shell
perl -MCPAN -e shell install Text::Same
For more information on module installation, please visit the detailed CPAN module installation guide.