/usr/share/perl5/Plack/Middleware/Dispatch.pm is in libweb-simple-perl 0.020-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 | package Plack::Middleware::Dispatch;
use Moo;
extends 'Web::Dispatch';
has app => (is => 'ro', writer => '_set_app');
sub wrap {
my ($self, $app, @args) = @_;
if (ref $self) {
$self->_set_app($app);
} else {
$self = $self->new({ app => $app, @args });
}
return $self->to_app;
}
1;
|