File: app.psgi

package info (click to toggle)
libplack-middleware-debug-perl 0.17%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 288 kB
  • sloc: perl: 599; makefile: 6; sql: 5
file content (10 lines) | stat: -rw-r--r-- 171 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
use Plack::Builder;

my $app = sub {
    return [ 200, [ 'Content-Type' => 'text/html' ], [ '<body>Hello World</body>' ] ];
};

builder {
    enable 'Debug';
    $app;
};