Skip to content

Instantly share code, notes, and snippets.

@skaji
Created September 15, 2012 16:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skaji/3728737 to your computer and use it in GitHub Desktop.
Save skaji/3728737 to your computer and use it in GitHub Desktop.
Plackup file or directory
function plackfile() {
plackup -MPlack::App::File \
-e "Plack::App::File->new(file => q{$1})"
}
alias plackdir="plackup -MPlack::App::Directory \
-e 'Plack::App::Directory->new'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment