Hi,
With a suggestion from Tomas Doran I've made the following patch to the POD
of C::P::ConfigLoader:
Index: lib/Catalyst/Plugin/ConfigLoader.pm
===================================================================
--- lib/Catalyst/Plugin/ConfigLoader.pm (revision 8520)
+++ lib/Catalyst/Plugin/ConfigLoader.pm (working copy)
@@ -51,6 +51,14 @@
See L<Config::Any>'s C<driver_args> parameter for more information.
+As another example, if you want to use UTF-8 strings in MyApp.conf, use:
+
+ __PACKAGE__->config( 'Plugin::ConfigLoader' => {
+ driver => {
+ 'General' => {-UTF8 => 1},
+ }
+ } );
+
To support the distinction between development and production environments,
this module will also attemp to load a local config (e.g. myapp_local.yaml)
which will override any duplicate settings.
Octavian
_______________________________________________
Catalyst-dev mailing list
Catalyst-dev@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev
With a suggestion from Tomas Doran I've made the following patch to the POD
of C::P::ConfigLoader:
Index: lib/Catalyst/Plugin/ConfigLoader.pm
===================================================================
--- lib/Catalyst/Plugin/ConfigLoader.pm (revision 8520)
+++ lib/Catalyst/Plugin/ConfigLoader.pm (working copy)
@@ -51,6 +51,14 @@
See L<Config::Any>'s C<driver_args> parameter for more information.
+As another example, if you want to use UTF-8 strings in MyApp.conf, use:
+
+ __PACKAGE__->config( 'Plugin::ConfigLoader' => {
+ driver => {
+ 'General' => {-UTF8 => 1},
+ }
+ } );
+
To support the distinction between development and production environments,
this module will also attemp to load a local config (e.g. myapp_local.yaml)
which will override any duplicate settings.
Octavian
_______________________________________________
Catalyst-dev mailing list
Catalyst-dev@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev