Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Examples of Plack dispatcher using various CPAN modules

tree: 7f47faa187

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README
Octocat-spinner-32 dancer.pl
Octocat-spinner-32 http-router-declare.pl
Octocat-spinner-32 httpx-dispatcher.pl
Octocat-spinner-32 tatsumaki.pl
Octocat-spinner-32 tester.pl
Octocat-spinner-32 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.