/usr/share/perl5/Mason/Plugin/Cache/Filters.pm is in libmason-plugin-cache-perl 0.05-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 | package Mason::Plugin::Cache::Filters;
BEGIN {
$Mason::Plugin::Cache::Filters::VERSION = '0.05';
}
use Mason::PluginRole;
method Cache ( $key, $set_options, %cache_options ) {
$key = 'Default' if !defined($key);
Mason::DynamicFilter->new(
filter => sub {
$self->cache(%cache_options)->compute( $key, $_[0], $set_options );
}
);
}
1;
|