Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Examples of Plack dispatcher using various CPAN modules
Perl
tree: d5cea7fe30

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/MyApp
README
dancer.pl
http-router-declare.pl
httpx-dispatcher.pl
mojolicious-lite.pl
path-dispatcher.pl
tatsumaki.pl
tester.pl
web-simple.pl

README

This is a collection of URI dispatching using Plack::Request and various CPAN modules.

Most examples would do:

  GET / => "Hello World"
  GET /blog/{year}/{month} => Get the list of blog posts in year/month
  POST /comment => Post a comment with parameters id, name and body

You can run tests against the dispatcher using:

  perl tester.pl <dispatcher.pl>

Something went wrong with that request. Please try again.