The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
package Dancer::Plugin::Foo;
use strict;
use warnings;
use Dancer::Plugin;

register foo => sub {
    get '/foo' => sub {
        "/foo";
    };
};

#get '/foo_sttings' => sub {
#    to_yaml(plugin_settings);
#};

register_plugin for_versions => [2];
1;