Config::Loader::Perl - Load Perl config files


Config-Loader documentation  | view source Contained in the Config-Loader distribution.

Index


NAME

Top

Config::Loader::Perl - Load Perl config files

DESCRIPTION

Top

Loads Perl files. Example:

    {
        name => 'TestApp',
        'Controller::Foo' => {
            foo => 'bar'
        },
        'Model::Baz' => {
            qux => 'xyzzy'
        }
    }

Any error/warning in the file will throw a fatal error.

METHODS

Top

extensions( )

return an array of valid extensions (pl, perl).

load( $file )

Attempts to load $file as a Perl file.

SEE ALSO

Top

Config::Loader

THANKS

Top

Thanks to Joel Bernstein and Brian Cassidy for the original Config::Any::Perl module

BUGS

Top

None known

AUTHOR

Top

Clinton Gormley, <clinton@traveljury.com>

COPYRIGHT

Top

LICENSE

Top

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.


Config-Loader documentation  | view source Contained in the Config-Loader distribution.