/usr/share/doc/libhttp-server-simple-mason-perl/examples/sample_server.pl is in libhttp-server-simple-mason-perl 0.14-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 | #!/usr/bin/perl
use warnings;
use strict;
my $server = MyApp::Server->new( 8081);
$server->run;
package MyApp::Server;
use base qw/HTTP::Server::Simple::Mason/;
sub mason_config {
return ( comp_root => '/tmp/mason-pages' );
}
1;
|