[Catalyst-commits] r8526 - in trunk/Catalyst-Plugin-ConfigLoader: .
lib/Catalyst/Plugin lib/Catalyst/Plugin/ConfigLoader
bricas at dev.catalyst.perl.org
bricas at dev.catalyst.perl.org
Tue Oct 14 13:14:13 BST 2008
Author: bricas
Date: 2008-10-14 13:14:12 +0100 (Tue, 14 Oct 2008)
New Revision: 8526
Modified:
trunk/Catalyst-Plugin-ConfigLoader/Changes
trunk/Catalyst-Plugin-ConfigLoader/lib/Catalyst/Plugin/ConfigLoader.pm
trunk/Catalyst-Plugin-ConfigLoader/lib/Catalyst/Plugin/ConfigLoader/Manual.pod
Log:
add a cookbook entry re: UTF-8 and Config::General (Octavian Rasnita)
Modified: trunk/Catalyst-Plugin-ConfigLoader/Changes
===================================================================
--- trunk/Catalyst-Plugin-ConfigLoader/Changes 2008-10-14 09:13:15 UTC (rev 8525)
+++ trunk/Catalyst-Plugin-ConfigLoader/Changes 2008-10-14 12:14:12 UTC (rev 8526)
@@ -1,5 +1,8 @@
Revision history for Perl extension Catalyst::Plugin::ConfigLoader.
+0.22 XXX
+ - add a cookbook entry re: UTF-8 and Config::General (Octavian Rasnita)
+
0.21 Mon Aug 11 2008
- add a cookbook entry for converting an existing config to
Config::General format
Modified: trunk/Catalyst-Plugin-ConfigLoader/lib/Catalyst/Plugin/ConfigLoader/Manual.pod
===================================================================
--- trunk/Catalyst-Plugin-ConfigLoader/lib/Catalyst/Plugin/ConfigLoader/Manual.pod 2008-10-14 09:13:15 UTC (rev 8525)
+++ trunk/Catalyst-Plugin-ConfigLoader/lib/Catalyst/Plugin/ConfigLoader/Manual.pod 2008-10-14 12:14:12 UTC (rev 8526)
@@ -176,5 +176,16 @@
perl -Ilib -MMyApp -MConfig::General -e 'Config::General->new->save_file("myapp.conf", MyApp->config);'
+=head2 Using UTF-8 strings in a Config::General file
+
+If you have UTF-8 strings in your L<Config::General>-based config file, you
+should add the following config information to MyApp.pm:
+
+ __PACKAGE__->config( 'Plugin::ConfigLoader' => {
+ driver => {
+ 'General' => { -UTF8 => 1 },
+ }
+ } );
+
=cut
Modified: trunk/Catalyst-Plugin-ConfigLoader/lib/Catalyst/Plugin/ConfigLoader.pm
===================================================================
--- trunk/Catalyst-Plugin-ConfigLoader/lib/Catalyst/Plugin/ConfigLoader.pm 2008-10-14 09:13:15 UTC (rev 8525)
+++ trunk/Catalyst-Plugin-ConfigLoader/lib/Catalyst/Plugin/ConfigLoader.pm 2008-10-14 12:14:12 UTC (rev 8526)
@@ -8,7 +8,7 @@
use Data::Visitor::Callback;
use Catalyst::Utils ();
-our $VERSION = '0.21';
+our $VERSION = '0.22';
=head1 NAME
More information about the Catalyst-commits
mailing list