1 package Catalyst::Plugin::ConfigLoader::Perl;
\r
8 Catalyst::Plugin::ConfigLoader::Perl - Load Perl config files
\r
12 Loads Perl files. Example:
\r
16 Controller::Foo => {
\r
23 =head2 extensions( )
\r
25 return an array of valid extensions (C<pl>, C<perl>).
\r
30 return qw( pl perl );
\r
33 =head2 load( $file )
\r
35 Attempts to load C<$file> as a Perl file.
\r
43 return eval { require $file };
\r
50 =item * Brian Cassidy E<lt>bricas@cpan.orgE<gt>
\r
54 =head1 COPYRIGHT AND LICENSE
\r
56 Copyright 2006 by Brian Cassidy
\r
58 This library is free software; you can redistribute it and/or modify
\r
59 it under the same terms as Perl itself.
\r
67 =item * L<Catalyst::Plugin::ConfigLoader>
\r