File: app.psgi

package info (click to toggle)
libplack-middleware-debug-perl 0.16%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 308 kB
  • ctags: 51
  • sloc: perl: 594; sh: 54; 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;
};