Created
August 12, 2016 14:45
-
-
Save jberger/6f5865cbc79e17b11f7b84e1bdf6efe9 to your computer and use it in GitHub Desktop.
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
use Mojolicious::Lite; | |
get '/foo/bar'; | |
get '/fo/obar'; | |
get '/foo/:bar'; | |
app->start; | |
__END__ | |
$ perl routes.pl routes | |
/foo/bar GET foobar | |
/fo/obar GET foobar | |
/foo/:bar GET foobar | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment