There's more than one way to do things | |
PerlMonks |
Re: Dancer + cgiby dsheroh (Monsignor) |
on Mar 21, 2012 at 09:44 UTC ( [id://960746]=note: print w/replies, xml ) | Need Help?? |
I surprised that nobody has directly mentioned this yet,1 but the default code generated by dancer -a includes a dispatch.cgi in the public/ directory. Execute that like any other CGI script and you should be set.
1 it's covered in Dancer::Deployment, but that adds a lot of additional boilerplate that isn't actually relevant to Just Making It Work
In Section
Seekers of Perl Wisdom
|
|