<br><br><div class="gmail_quote">On Mon, Apr 5, 2010 at 2:31 AM, Oleg Kostyuk <span dir="ltr">&lt;<a href="mailto:cub.uanic@gmail.com">cub.uanic@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

2010/3/30 Bill Moseley &lt;<a href="mailto:moseley@hank.org">moseley@hank.org</a>&gt;:<br>
&gt;<br>
&gt; ..........................<br>
<div class="im">&gt; The applications have separate YAML files for different environments.  There<br>
&gt; might be &quot;dev.yml&quot;, &quot;testing.yml&quot;, &quot;qa.yml&quot;, and &quot;produciton.yml&quot;.  Each<br>
&gt; machine has a file in /etc/&lt;$app_name&gt; that sets what environment the<br>
&gt; application should start in (i.e. what YAML config file to use).  Push to<br>
&gt; testing and the app starts and uses the testing database as configured in<br>
&gt; testing.yml.<br>
<br>
</div>Catalyst already have such possibility: read end of &quot;DESCRIPTION&quot; in<br>
Catalyst::Plugin::ConfigLoader, and more details in description of<br>
get_config_local_suffix().<br></blockquote><div><br></div><div>Yes, similar.  ConfigLoader didn&#39;t exist when I wrote the above, and it&#39;s not a plugin (the Plugin is just a thin wrapper) -- it&#39;s available outside of Catalyst which is very useful.    Wasn&#39;t there talk a while back about splitting up ConfigLoader to make it available outside of Catalyst and with the ability to merge files?</div>

<div><br></div><div> </div></div><br>-- <br>Bill Moseley<br><a href="mailto:moseley@hank.org">moseley@hank.org</a><br>