Question - par & dancer & strawberry perl (5.14)
Hi there, I want to write a simple dancer application, and distribute it as a par executable. (Dancer would be in stand alone server mode.) So I run dancer - A Sample to create a sample application. I run in bin/app.pl in strawberry perl, and browse to localhost:3000, I get the expected "it works" index page. I update the MANIFEST file from .\MANIFEST to ./MANIFEST for par to include the various directories. When I build the par executable, I'm using the following syntax: pp ./bin/app.pl -A MANIFIEST -M Dancer::Handler::Standalone However, when I execute a.exe, and I browse to localhost:3000 , I get a 500 error message instead of the expected index page. (I also tried cygwin perl, but PAR::Packer died when attempting to install, which is a known bug.) Is there an existing cookbook way of using par & dancer so that it would not have the 500 error message? The reason why I'm doing it this way (and not deploying to a web server), is because I don't have access to the remote server... I only know it's windows of some sort, and I need to have as few dependencies as possible. A stand alone exe is ok. Thanks in advance for any advice. Zak
participants (1)
-
Zachary Zebrowski