remove eval so the Perl loader dies on invalid content.
[p5sagit/Config-Any.git] / lib / Config / Any / Perl.pm
index ed3752b..936efab 100644 (file)
@@ -47,13 +47,23 @@ sub load {
     my $content;
 
     unless ( $content = $cache{ $file } ) {
-        $content = eval { require $file };
+        $content = require $file;
         $cache{ $file } = $content;
     }
 
     return $content;
 }
 
+=head2 is_supported( )
+
+Returns true.
+
+=cut
+
+sub is_supported {
+    return 1;
+}
+
 =head1 AUTHOR
 
 Brian Cassidy E<lt>bricas@cpan.orgE<gt>