[Dancer-users] How to set the environment?
Gabor Szabo
szabgab at gmail.com
Wed Dec 15 08:57:12 CET 2010
Hmm, my production environment does not use that script.
It is using the dispatch.cgi in the public directory.
Which I just opened and was surprised to see that it runs the script.
Strange.
For that case I think an environment variable in %ENV could be also useful
for setting the, well, environment.
Anyway I also have two different development environments.
One of them is a Linux box where I use Apache and it is quite similar to
the deployment environment but needs a few different config values.
The other one is a Windows box where I run the script and use the
built-in web server.
Can I have more that two environments ?
Gabor
http://szabgab.com/
More information about the Dancer-users
mailing list