Making Dancer Dance on CGI A.K.A. Blog Fix #543
Nick Spacek commented on my entry saying that if it supports Plack/PSGI, there should be an easy way to run it as CGI.
Later that evening I sat down for hummus with my girlfriend (hummus is awesome, ok?). After talking to her about it, I decided to take a minute to check online on my phone if anyone has any explanations on it. In the first 5 results, I found a post Alexis Sukriah (who wrote Dancer!) wrote that same day, regarding my post, showing how to use Plack to run a Dancer app under CGI!
Case in point:
my $psgi = '/path/to/your/app/app.psgi';
my $app = Plack::Util::load_psgi($psgi);
... and the web server configuration to use it.
(example shown on Alexis' post)
And that brings me to a point I forgot to mention in the previous post. Dancer has a very dedicated author, a Github account with lotsa forks and cares very much about community and communal programming. I have to say, that's a major high point in any module/program/framework I want to use.
So, I stand corrected. Plack is awesomer than originally thought.
miyagawa++, sukriah++ :)