1 May
2012
1 May
'12
9:38 a.m.
http://search.cpan.org/dist/Dancer/lib/Dancer/Cookbook.pod#Configuration_and... "Note that you can change the running environment using the --environment commandline switch." #!/usr/bin/env perl # [...] use Dancer ':script'; use Data::Dumper; say Dumper(config); die; # end of test script # ./test.pl --environment dev2 | grep env Died at ./test.pl line 32. 'envdir' => '/home/.../environments', 'environment' => 'development', Is it ok? Am I doing something wrong? -- Best Regards, Nick Knutov http://knutov.com ICQ: 272873706 Voice: +7-904-84-23-130