Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Dancer + cgi

by dsheroh (Prior)
on Mar 21, 2012 at 09:44 UTC ( #960746=note: print w/replies, xml ) Need Help??


in reply to Dancer + cgi

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

Replies are listed 'Best First'.
Re^2: Dancer + cgi
by slatibart (Sexton) on Mar 21, 2012 at 12:01 UTC
    You made my day. In the end it is as simple as it should be. Now the comment to Plack::Runner in Dancer::Deployment makes sense to me.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://960746]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2020-02-18 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (75 votes). Check out past polls.

    Notices?