1 May
2012
1 May
'12
10:56 a.m.
sorry, this part is not actual, I had wrong configs. 01.05.2012 16:14, Nick Knutov написал:
ok,
config->{environment}='dev2'; Dancer::Config::load();
now
# ./test.pl --environment dev2 | grep env ErrorConnectServer at ./test.pl line 139. # my custom error 'envdir' => '/home/.../environments', 'environment' => 'dev2',
On `say Dumper(config)` I see that environment (including data for D::P::DataBase) is not loaded.
-- Best Regards, Nick Knutov http://knutov.com ICQ: 272873706 Voice: +7-904-84-23-130