/usr/share/perl5/auto/Memoize/ExpireLRU/DumpCache.al is in libmemoize-expirelru-perl 0.55-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | # NOTE: Derived from blib/lib/Memoize/ExpireLRU.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package Memoize::ExpireLRU;
#line 271 "blib/lib/Memoize/ExpireLRU.pm (autosplit into blib/lib/auto/Memoize/ExpireLRU/DumpCache.al)"
sub DumpCache ( $ ) {
## Utility routine to display the caches of the given instance
my($Instance, $self, $p) = shift;
foreach $self (@AllTies) {
next unless $self->{INSTANCE} eq $Instance;
$p = "$Instance:\n Cache Keys:\n";
foreach my $x (@{$self->{I}}) {
## The cache is at $self->{C} (->{$key})
$p .= " '$x->{k}'\n";
}
$p .= " Test Cache Keys:\n";
foreach my $x (@{$self->{TI}}) {
$p .= " '$x->{k}'\n";
}
return $p;
}
return "Instance $Instance not found\n";
}
# end of Memoize::ExpireLRU::DumpCache
1;
|