Subject: | HASH arg to Memoize::Expire |
The documentation of Memoize::Expire claims: "You can use the HASH
option to Memoize::Expire to supply a tied hash in place of the ordinary
hash that Memoize::Expire will normally use." It proceeds with an
example of this functionality. However, this functionality was never
implemented.
The fix is quite simple. Simply change
$args{C} = \%cache;
in TIEHASH to
$args{C} = $args{HASH} || \%cache;