From: Brian Cassidy Date: Tue, 5 Aug 2008 15:05:58 +0000 (+0000) Subject: added a caveat regarding XML::Simple's strict mode (Peter Corlett) X-Git-Tag: v0.13~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FConfig-Any.git;a=commitdiff_plain;h=11501cf7c7fd46e8723c2de165a00e2f8deefc72;hp=5770ffc01feb6998b8a7e23d66b52d33e4a62b35 added a caveat regarding XML::Simple's strict mode (Peter Corlett) --- diff --git a/Changes b/Changes index 939f975..c522042 100644 --- a/Changes +++ b/Changes @@ -4,6 +4,7 @@ Revision history for Config-Any - 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) diff --git a/lib/Config/Any/XML.pm b/lib/Config/Any/XML.pm index c9b979f..ca2d55b 100644 --- a/lib/Config/Any/XML.pm +++ b/lib/Config/Any/XML.pm @@ -84,6 +84,17 @@ sub is_supported { return $@ ? 0 : 1; } +=head1 CAVEATS + +=head2 Strict Mode + +If, by some chance, L 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 for +more information. + =head1 AUTHORS Brian Cassidy Ebricas@cpan.orgE