Scroll to navigation

Config::Merge::Perl(3pm) User Contributed Perl Documentation Config::Merge::Perl(3pm)

NAME

Config::Merge::Perl - Load Perl config files

DESCRIPTION

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

extensions( )

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

load( $file )

Attempts to load $file as a Perl file.

SEE ALSO

Config::Merge

THANKS

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

BUGS

None known

AUTHOR

Clinton Gormley, <clinton@traveljury.com>

COPYRIGHT

Copyright (C) 2007 by Clinton Gormley

LICENSE

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.

2022-11-19 perl v5.36.0