/usr/share/doc/libplack-perl/examples/dot-psgi/cgi-pm.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 | use CGI::PSGI;
sub {
my $env = shift;
my $query = CGI::PSGI->new($env);
# return [ 200, [ "Content-Type" => "text/plain" ], [ "Hello ", $query->param('name') ] ];
return [ $query->psgi_header('text/plain'), [ "Hello ", $query->param('name') ] ];
}
|