Skip to content

Instantly share code, notes, and snippets.

@ysasaki
Last active December 23, 2015 14:49
Show Gist options
  • Save ysasaki/6651640 to your computer and use it in GitHub Desktop.
Save ysasaki/6651640 to your computer and use it in GitHub Desktop.
use strict;
use warnings;
use Plack::Buidler;
use MyWAF::DSL qw(app get post);
app {
get '/index' => sub {
my $env = shift;
...
},
post '/next' => sub {
my $env = shift;
...
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment