in reply to Re: Dancer + cgi
in thread Dancer + cgi
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.
butstill binds to Port 3000.use Dancer; get '/' => sub { return 'Hello World!'; }; dance;
print "Content-type: text/html\n\n"; print "hello";
but this perl script is working.
Still clueless after reading a lot of documentation.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Dancer + cgi
by druthb (Beadle) on Mar 20, 2012 at 18:58 UTC | |
|
Re^3: Dancer + cgi
by aaron_baugher (Curate) on Mar 21, 2012 at 10:37 UTC |