1 package Config::Any::Perl;
6 use base 'Config::Any::Base';
11 Config::Any::Perl - Load Perl config files
15 Loads Perl files. Example:
19 'Controller::Foo' => {
31 return an array of valid extensions (C<pl>, C<perl>).
41 Attempts to load C<$file> as a Perl file.
49 my( $exception, $content );
52 $content = do File::Spec->rel2abs($file);
55 die $exception if $exception;
62 Brian Cassidy E<lt>bricas@cpan.orgE<gt>
64 =head1 COPYRIGHT AND LICENSE
66 Copyright 2006-2016 by Brian Cassidy
68 This library is free software; you can redistribute it and/or modify
69 it under the same terms as Perl itself.
77 =item * L<Config::Any>