X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FConfig%2FAny%2FPerl.pm;h=936efab7540846b6aea7a6554b79e91ba1ea5e60;hb=692fc1958052bf9e7783f424e9733efde5736aeb;hp=1dd1499e50b6defa6e025d4654f41d048ccff8d2;hpb=83020fbd096a2523ceedbb3ea1e9b99e030f994c;p=p5sagit%2FConfig-Any.git diff --git a/lib/Config/Any/Perl.pm b/lib/Config/Any/Perl.pm index 1dd1499..936efab 100644 --- a/lib/Config/Any/Perl.pm +++ b/lib/Config/Any/Perl.pm @@ -46,25 +46,31 @@ sub load { my $file = shift; my $content; - unless( $content = $cache{ $file } ) { - $content = eval { require $file }; + unless ( $content = $cache{ $file } ) { + $content = require $file; $cache{ $file } = $content; } return $content; } -=head1 AUTHOR +=head2 is_supported( ) -=over 4 +Returns true. -=item * Brian Cassidy Ebricas@cpan.orgE +=cut -=back +sub is_supported { + return 1; +} + +=head1 AUTHOR + +Brian Cassidy Ebricas@cpan.orgE =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.