Dancer

The easiest way to write web applications in Perl

Prepare your moves

#!/usr/bin/perl

use Dancer;

get '/hi' => sub {
    "Hello World!"
};

dance;

And dance

$ sudo cpan Dancer
[...]
$ perl ./hi.pl
>> Listening on 127.0.0.1:3000
== Entering the dance floor ...
== GET /hi HTTP/1.0 200 OK
Fork me on GitHub