Debian Codegraph @

t/lib/poc.pm

raw
1 package poc;
2 use Dancer2;
3
4 our $VERSION = '0.1';
5
6 use Dancer2::Plugin::Foo;
7
8 set plugins => {
9 Foo => {
10 one => 1,
11 two => 2,
12 size => 4,
13 },
14 };
15
16 get '/' => sub {
17 return 'hello there';
18 };
19
20 get '/truncate' => sub { truncate_txt "hello there" };
21
22 true;