in reply to Re: Dancer + cgi
in thread Dancer + cgi

I don't get it. Dancer::Deployment says:

In providing ultimate flexibility in terms of deployment, your Dancer app can be run as a simple cgi-script out-of-the-box. No additional web-server configuration needed. Your web server should recognize .cgi files and be able to serve Perl scripts.

use Dancer; get '/' => sub { return 'Hello World!'; }; dance;
still binds to Port 3000.
print "Content-type: text/html\n\n"; print "hello";

but this perl script is working.

Still clueless after reading a lot of documentation.