[Dancer-users] Deploying Dancer as CGI (was: Re: Newbie questions: filter fail)

Joel Roth joelz at pobox.com
Fri Nov 26 18:35:28 CET 2010


On Thu, Nov 25, 2010 at 03:09:40PM -1000, Joel Roth wrote:
> Can you suggest how I might coax Dancer to return a web page 
> right away with whatever input it has?

Here is the answer:

    use Plack::Runner;
    Plack::Runner->run('/path/to/your/app.psgi');

http://www.sukria.net/fr/archives/2010/01/11/using-plack-to-run-a-dancer-app-under-a-cgi-environment/

Easy peasy!

Dancer rocks!! :)

-- 
Joel Roth


More information about the Dancer-users mailing list