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
use Carp;
use Module::Pluggable::Object ();
-our $VERSION = '0.18';
+our $VERSION = '0.19';
=head1 NAME
=head1 COPYRIGHT AND LICENSE
-Copyright 2006-2009 by Brian Cassidy
+Copyright 2006-2010 by Brian Cassidy
Portions Copyright 2006 Portugal Telecom
=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.
=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.
sub load {
my $class = shift;
my $file = shift;
- my $content;
- my $exception;
+
+ my( $exception, $content );
{
local $@;
$content = do $file;
=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.
=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.
=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.