/usr/share/doc/libplack-perl/examples/dot-psgi/plack-req.psgi is in libplack-perl 1.0033-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 | use Plack::Request;
use Plack::Response;
sub {
my $env = shift;
my $req = Plack::Request->new($env);
my $res = $req->new_response(200);
$res->content_type('text/plain');
$res->body("Hello " . $req->param('name'));
$res->finalize;
}
|