diff options
Diffstat (limited to 'Master/tlpkg/tlperl/lib/Memoize')
-rw-r--r-- | Master/tlpkg/tlperl/lib/Memoize/AnyDBM_File.pm | 2 | ||||
-rw-r--r-- | Master/tlpkg/tlperl/lib/Memoize/Expire.pm | 7 | ||||
-rw-r--r-- | Master/tlpkg/tlperl/lib/Memoize/ExpireFile.pm | 2 | ||||
-rw-r--r-- | Master/tlpkg/tlperl/lib/Memoize/ExpireTest.pm | 2 | ||||
-rw-r--r-- | Master/tlpkg/tlperl/lib/Memoize/NDBM_File.pm | 2 | ||||
-rw-r--r-- | Master/tlpkg/tlperl/lib/Memoize/SDBM_File.pm | 2 | ||||
-rw-r--r-- | Master/tlpkg/tlperl/lib/Memoize/Storable.pm | 2 |
7 files changed, 12 insertions, 7 deletions
diff --git a/Master/tlpkg/tlperl/lib/Memoize/AnyDBM_File.pm b/Master/tlpkg/tlperl/lib/Memoize/AnyDBM_File.pm index 91f960962f9..078f69e011d 100644 --- a/Master/tlpkg/tlperl/lib/Memoize/AnyDBM_File.pm +++ b/Master/tlpkg/tlperl/lib/Memoize/AnyDBM_File.pm @@ -11,7 +11,7 @@ See L<Memoize>. =cut use vars qw(@ISA $VERSION); -$VERSION = 0.65; +$VERSION = '1.02'; @ISA = qw(DB_File GDBM_File Memoize::NDBM_File Memoize::SDBM_File ODBM_File) unless @ISA; my $verbose = 1; diff --git a/Master/tlpkg/tlperl/lib/Memoize/Expire.pm b/Master/tlpkg/tlperl/lib/Memoize/Expire.pm index 97e1aa44208..3d6d3e439ca 100644 --- a/Master/tlpkg/tlperl/lib/Memoize/Expire.pm +++ b/Master/tlpkg/tlperl/lib/Memoize/Expire.pm @@ -3,7 +3,7 @@ package Memoize::Expire; # require 5.00556; use Carp; $DEBUG = 0; -$VERSION = '1.00'; +$VERSION = '1.02'; # This package will implement expiration by prepending a fixed-length header # to the font of the cached data. The format of the header will be: @@ -311,6 +311,11 @@ the underlying cache so that the user can specify that the cache is also persistent or that it has some other interesting semantics. The example above demonstrates how to do this, as does C<Memoize::Expire>. +Another sample module, L<Memoize::Saves>, is available in a separate +distribution on CPAN. It implements a policy that allows you to +specify that certain function values would always be looked up afresh. +See the documentation for details. + =head1 ALTERNATIVES Brent Powers has a C<Memoize::ExpireLRU> module that was designed to diff --git a/Master/tlpkg/tlperl/lib/Memoize/ExpireFile.pm b/Master/tlpkg/tlperl/lib/Memoize/ExpireFile.pm index e52c09a3bf3..e3123b83408 100644 --- a/Master/tlpkg/tlperl/lib/Memoize/ExpireFile.pm +++ b/Master/tlpkg/tlperl/lib/Memoize/ExpireFile.pm @@ -10,7 +10,7 @@ See L<Memoize::Expire>. =cut -$VERSION = 1.01; +$VERSION = '1.02'; use Carp; my $Zero = pack("N", 0); diff --git a/Master/tlpkg/tlperl/lib/Memoize/ExpireTest.pm b/Master/tlpkg/tlperl/lib/Memoize/ExpireTest.pm index 729f6b98506..3c69e56c9f9 100644 --- a/Master/tlpkg/tlperl/lib/Memoize/ExpireTest.pm +++ b/Master/tlpkg/tlperl/lib/Memoize/ExpireTest.pm @@ -18,7 +18,7 @@ to mjd-perl-memoize+@plover.com. =cut -$VERSION = 0.65; +$VERSION = '1.02'; my %cache; sub TIEHASH { diff --git a/Master/tlpkg/tlperl/lib/Memoize/NDBM_File.pm b/Master/tlpkg/tlperl/lib/Memoize/NDBM_File.pm index 96eabfbb7c8..07b8950a60b 100644 --- a/Master/tlpkg/tlperl/lib/Memoize/NDBM_File.pm +++ b/Master/tlpkg/tlperl/lib/Memoize/NDBM_File.pm @@ -12,7 +12,7 @@ See L<Memoize>. use NDBM_File; @ISA = qw(NDBM_File); -$VERSION = 0.65; +$VERSION = '1.02'; $Verbose = 0; diff --git a/Master/tlpkg/tlperl/lib/Memoize/SDBM_File.pm b/Master/tlpkg/tlperl/lib/Memoize/SDBM_File.pm index f66273f2747..6cb11af7329 100644 --- a/Master/tlpkg/tlperl/lib/Memoize/SDBM_File.pm +++ b/Master/tlpkg/tlperl/lib/Memoize/SDBM_File.pm @@ -12,7 +12,7 @@ See L<Memoize>. use SDBM_File; @ISA = qw(SDBM_File); -$VERSION = 0.65; +$VERSION = '1.02'; $Verbose = 0; diff --git a/Master/tlpkg/tlperl/lib/Memoize/Storable.pm b/Master/tlpkg/tlperl/lib/Memoize/Storable.pm index 4c29dd7eb8f..33e35b485e1 100644 --- a/Master/tlpkg/tlperl/lib/Memoize/Storable.pm +++ b/Master/tlpkg/tlperl/lib/Memoize/Storable.pm @@ -11,7 +11,7 @@ See L<Memoize>. =cut use Storable (); -$VERSION = 0.65; +$VERSION = '1.02'; $Verbose = 0; sub TIEHASH { |