- or download this
#!/usr/bin/perl
use strict;
...
print "Content-Type: text/plain\n\n";
$cgi->print_data;
exit;
- or download this
use strict;
use warnings;
...
$res->body ($body);
$res->finalize;
}
- or download this
#!/usr/bin/perl
use strict;
...
my $app = Plack::Util::load_psgi("light.psgi");
Plack::Loader->auto->run($app);