projects
/
p5sagit/Config-Any.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
add JSON::XS to the top of the JSON loaders list
[p5sagit/Config-Any.git]
/
lib
/
Config
/
Any
/
Perl.pm
diff --git
a/lib/Config/Any/Perl.pm
b/lib/Config/Any/Perl.pm
index
ed3752b
..
2798d87
100644
(file)
--- a/
lib/Config/Any/Perl.pm
+++ b/
lib/Config/Any/Perl.pm
@@
-3,6
+3,8
@@
package Config::Any::Perl;
use strict;
use warnings;
+use base 'Config::Any::Base';
+
my %cache;
=head1 NAME
@@
-47,7
+49,7
@@
sub load {
my $content;
unless ( $content = $cache{ $file } ) {
- $content = eval { require $file };
+ $content = require $file;
$cache{ $file } = $content;
}