/usr/share/perl5/Plack/Middleware/Debug/Session.pm is in libplack-middleware-debug-perl 0.16+dfsg-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 31 32 33 34 | package Plack::Middleware::Debug::Session;
use 5.008;
use strict;
use warnings;
use parent qw(Plack::Middleware::Debug::Base);
sub run {
my ($self, $env, $panel) = @_;
return sub {
my $res = shift;
my $session = $env->{'psgix.session'}
or return $panel->disable;
$panel->content($self->render_hash($session));
};
}
1;
__END__
=head1 NAME
=head1 AUTHOR
Masahiro Chiba
=head1 SEE ALSO
L<Plack::Middleware::Session>
=cut
|