package Howdy; use Dancer2; use Dancer2::Plugin::TestHook; get '/' => sub { template 'index' => { 'title' => 'Howdy' }; }; get '/hello' => sub { die "We are out of ponies\n"; return "Welcome to Dancer2 Web Application"; }; true;
In reply to Re^6: Dancer2 hook
by Anonymous Monk
in thread Dancer2 hook
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |