|
|
| No such thing as a small change | |
| PerlMonks |
Test::WWW::Mechanize::Catalyst - ConfigLoader - Ignoring MYAPP_local.plby Anonymous Monk |
| on Jun 28, 2012 at 04:38 UTC ( #978829=perlquestion: print w/ replies, xml ) | Need Help?? |
|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
I have a Catalyst app that uses ConfigLoader.
There are 2 config files MYAPP.pl and MYAPP_local.pl. Running Catalyst normally all is well and values in MYAPP_local.pl overwrite the values in MYAPP.pl as expected. One of these values is called domain and is used in some TT templates:
The issue observed is that when Catalyst is run via Test::WWW::Mechanize::Catalyst the values in conf/MYAPP.pl are found just fine, however they are not overwritten by the values in MYAPP_local.pl. I have looked through the Catalyst::Plugin::ConfigLoader code and can't really see how it could load MYAPP.pl but not MYAPP_local.pl
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||