Subject: | dancer helper generates {webapp}.pl with wrong perl executable |
{webapp}.pl web server generated by dancer helper is run under
/usr/bin/perl by default.
The first #! line in {webapp}.pl should have the same perl executable as
dancer itself.
$ diff -u dancer.orig dancer
====
--- dancer.orig 2010-02-18 10:36:40.326494000 -0500
+++ dancer 2010-02-18 10:36:58.305964000 -0500
@@ -197,7 +197,7 @@
"$appname.pl" =>
-"#!/usr/bin/perl
+"#!$^X
use Dancer;
use $appname;
dance;
====