Config::Any::XML - Load XML config files


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

Index


NAME

Top

Config::Any::XML - Load XML config files

DESCRIPTION

Top

Loads XML files. Example:

    <config>
        <name>TestApp</name>
        <component name="Controller::Foo">
            <foo>bar</foo>
        </component>
        <model name="Baz">
            <qux>xyzzy</qux>
        </model>
    </config>

METHODS

Top

extensions( )

return an array of valid extensions (xml).

load( $file )

Attempts to load $file as an XML file.

requires_all_of( )

Specifies that this module requires XML::Simple in order to work.

CAVEATS

Top

Strict Mode

If, by some chance, XML::Simple has already been loaded with the strict flag turned on, then you will likely get errors as warnings will become fatal exceptions and certain arguments to XMLin() will no longer be optional.

See XML::Simple's strict mode documentation for more information.

AUTHORS

Top

Brian Cassidy <bricas@cpan.org>

Joel Bernstein <rataxis@cpan.org>

COPYRIGHT AND LICENSE

Top

SEE ALSO

Top

* Catalyst
* Config::Any
* XML::Simple

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