Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 18 lines (14 sloc) 0.387 kB
#!perl
use Plack::Builder;
use Plack::App::HTTP::Router;
use HTTP::Router::Declare;
use lib '/var/lib/hookers/lib';
my $router = router {
match '/hookers/{hooker}' => to { controller => 'Hooker', action => 'index' };
};
my $app = Plack::App::HTTP::Router->new({ router => $router} )->to_app;
builder {
# enable "Plack::Middleware::StackTrace";
enable "Debug";
$app;
};
Jump to Line
Something went wrong with that request. Please try again.