use strict;
use warnings;
+use base 'Config::Any::Base';
+
my %cache;
=head1 NAME
my $file = shift;
my $content;
- unless( $content = $cache{ $file } ) {
- $content = eval { require $file };
+ unless ( $content = $cache{ $file } ) {
+ $content = require $file;
$cache{ $file } = $content;
}
=head1 AUTHOR
-=over 4
-
-=item * Brian Cassidy E<lt>bricas@cpan.orgE<gt>
-
-=back
+Brian Cassidy E<lt>bricas@cpan.orgE<gt>
=head1 COPYRIGHT AND LICENSE
-Copyright 2006 by Brian Cassidy
+Copyright 2007 by Brian Cassidy
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.