2010/3/30 Bill Moseley <[email protected]>:
>
> ..........................
> The applications have separate YAML files for different environments.  There
> might be "dev.yml", "testing.yml", "qa.yml", and "produciton.yml".  Each
> machine has a file in /etc/<$app_name> that sets what environment the
> application should start in (i.e. what YAML config file to use).  Push to
> testing and the app starts and uses the testing database as configured in
> testing.yml.

Catalyst already have such possibility: read end of "DESCRIPTION" in
Catalyst::Plugin::ConfigLoader, and more details in description of
get_config_local_suffix().

--
Sincerely yours,
Oleg Kostyuk (CUB-UANIC)

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to