[Catalyst-commits] r8179 - in trunk/Config-Any: . lib/Config/Any

bricas at dev.catalyst.perl.org bricas at dev.catalyst.perl.org
Tue Aug 5 16:05:59 BST 2008


Author: bricas
Date: 2008-08-05 16:05:58 +0100 (Tue, 05 Aug 2008)
New Revision: 8179

Modified:
   trunk/Config-Any/Changes
   trunk/Config-Any/lib/Config/Any/XML.pm
Log:
added a caveat regarding XML::Simple's strict mode (Peter Corlett)

Modified: trunk/Config-Any/Changes
===================================================================
--- trunk/Config-Any/Changes	2008-08-05 12:03:26 UTC (rev 8178)
+++ trunk/Config-Any/Changes	2008-08-05 15:05:58 UTC (rev 8179)
@@ -4,6 +4,7 @@
     - show actual parse error when parse fails (Marcus Ramberg)
     - ensure Config::Tiny parse errors are trapped
     - added tests for each format to ensure they throw parse errors
+    - added a caveat regarding XML::Simple's strict mode (Peter Corlett)
 
 0.12 Mon 07 Apr 2008
     - ensure Perl loader dies on a failed require() (RT #32995)

Modified: trunk/Config-Any/lib/Config/Any/XML.pm
===================================================================
--- trunk/Config-Any/lib/Config/Any/XML.pm	2008-08-05 12:03:26 UTC (rev 8178)
+++ trunk/Config-Any/lib/Config/Any/XML.pm	2008-08-05 15:05:58 UTC (rev 8179)
@@ -84,6 +84,17 @@
     return $@ ? 0 : 1;
 }
 
+=head1 CAVEATS
+
+=head2 Strict Mode
+
+If, by some chance, L<XML::Simple> has already been loaded with the strict
+flag turned on, then you will likely get errors as warnings will become
+fatal exceptions and certain arguments to XMLin() will no longer be optional.
+
+See L<XML::Simple's strict mode documentation|XML::Simple/STRICT_MODE> for
+more information.
+
 =head1 AUTHORS
 
 Brian Cassidy E<lt>bricas at cpan.orgE<gt>




More information about the Catalyst-commits mailing list