Created
September 15, 2012 16:36
-
-
Save skaji/3728737 to your computer and use it in GitHub Desktop.
Plackup file or directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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