Clinton Gormley > Config-Merge > Config::Merge::Perl

Download:
Config-Merge-1.03.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

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.

syntax highlighting: