From: Brian Cassidy Date: Mon, 15 Feb 2010 13:59:17 +0000 (+0000) Subject: prep release X-Git-Tag: v0.19^0 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FConfig-Any.git;a=commitdiff_plain;h=f07b7a174347e4d35f8b80f3f68024aa974e1343 prep release --- diff --git a/Changes b/Changes index 6674ea5..68d612f 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,10 @@ Revision history for Config-Any +0.19 Mon 15 Feb 2010 + - add JSON::DWIW to the top of the JSON loaders list (caelum) + - remove need for caching in Perl loader by using do() instead + of require() (caelum) + 0.18 Mon 16 Nov 2009 - ensure XML loader's _coerce() method checks specifically for HASH refs - add YAML::XS to the top of the YAML loaders list diff --git a/lib/Config/Any.pm b/lib/Config/Any.pm index d9c660c..518a9f3 100644 --- a/lib/Config/Any.pm +++ b/lib/Config/Any.pm @@ -6,7 +6,7 @@ use warnings; use Carp; use Module::Pluggable::Object (); -our $VERSION = '0.18'; +our $VERSION = '0.19'; =head1 NAME diff --git a/lib/Config/Any/General.pm b/lib/Config/Any/General.pm index bb70c50..c5de65c 100644 --- a/lib/Config/Any/General.pm +++ b/lib/Config/Any/General.pm @@ -88,7 +88,7 @@ Joel Bernstein C<< >> =head1 COPYRIGHT AND LICENSE -Copyright 2006-2009 by Brian Cassidy +Copyright 2006-2010 by Brian Cassidy Portions Copyright 2006 Portugal Telecom diff --git a/lib/Config/Any/INI.pm b/lib/Config/Any/INI.pm index a43ac53..748732d 100644 --- a/lib/Config/Any/INI.pm +++ b/lib/Config/Any/INI.pm @@ -103,7 +103,7 @@ Joel Bernstein Erataxis@cpan.orgE =head1 COPYRIGHT AND LICENSE -Copyright 2006-2009 by Brian Cassidy, portions copyright 2006, 2007 by Joel Bernstein +Copyright 2006-2010 by Brian Cassidy, portions copyright 2006, 2007 by Joel Bernstein This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/Config/Any/JSON.pm b/lib/Config/Any/JSON.pm index 4200d44..0ef772f 100644 --- a/lib/Config/Any/JSON.pm +++ b/lib/Config/Any/JSON.pm @@ -88,7 +88,7 @@ Brian Cassidy Ebricas@cpan.orgE =head1 COPYRIGHT AND LICENSE -Copyright 2006-2009 by Brian Cassidy +Copyright 2006-2010 by Brian Cassidy This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/Config/Any/Perl.pm b/lib/Config/Any/Perl.pm index 6d214f2..6258392 100644 --- a/lib/Config/Any/Perl.pm +++ b/lib/Config/Any/Perl.pm @@ -44,8 +44,8 @@ Attempts to load C<$file> as a Perl file. sub load { my $class = shift; my $file = shift; - my $content; - my $exception; + + my( $exception, $content ); { local $@; $content = do $file; @@ -62,7 +62,7 @@ Brian Cassidy Ebricas@cpan.orgE =head1 COPYRIGHT AND LICENSE -Copyright 2006-2009 by Brian Cassidy +Copyright 2006-2010 by Brian Cassidy This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/Config/Any/XML.pm b/lib/Config/Any/XML.pm index eca183f..d463f6b 100644 --- a/lib/Config/Any/XML.pm +++ b/lib/Config/Any/XML.pm @@ -101,7 +101,7 @@ Joel Bernstein Erataxis@cpan.orgE =head1 COPYRIGHT AND LICENSE -Copyright 2006-2009 by Brian Cassidy +Copyright 2006-2010 by Brian Cassidy This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/Config/Any/YAML.pm b/lib/Config/Any/YAML.pm index dd369fd..65ce4ec 100644 --- a/lib/Config/Any/YAML.pm +++ b/lib/Config/Any/YAML.pm @@ -81,7 +81,7 @@ Brian Cassidy Ebricas@cpan.orgE =head1 COPYRIGHT AND LICENSE -Copyright 2006-2009 by Brian Cassidy +Copyright 2006-2010 by Brian Cassidy This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.