File: App.pm

package info (click to toggle)
libdancer2-perl 2.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,768 kB
  • sloc: perl: 8,671; sql: 14; makefile: 8
file content (13 lines) | stat: -rw-r--r-- 224 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
package App;
use strict;
use warnings;
use Dancer2 appname => 'Other';
use App::TestPlugin;

get '/' => sub {
    my $res = foo_from_plugin('Foo');
    ::is( $res, 'OK', 'Plugin returned OK' );
    return 'GET DONE';
};

1;