/usr/share/perl5/auto/Apache/Session/Browseable/_common/searchOn.al is in libapache-session-browseable-perl 1.1-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 | # NOTE: Derived from lib/Apache/Session/Browseable/_common.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package Apache::Session::Browseable::_common;
#line 31 "lib/Apache/Session/Browseable/_common.pm (autosplit into blib/lib/auto/Apache/Session/Browseable/_common/searchOn.al)"
sub searchOn {
my ( $class, $args, $selectField, $value, @fields ) = splice @_;
my %res = ();
$class->get_key_from_all_sessions(
$args,
sub {
my $entry = shift;
my $id = shift;
return undef unless ( $entry->{$selectField} eq $value );
if (@fields) {
$res{$id}->{$_} = $entry->{$_} foreach (@fields);
}
else {
$res{$id} = $entry;
}
undef;
}
);
return \%res;
}
# end of Apache::Session::Browseable::_common::searchOn
1;
|