The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

DESCRIPTION

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

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 and XML::NamespaceSupport in order to work.

CAVEATS

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

Brian Cassidy <bricas@cpan.org>

Joel Bernstein <rataxis@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2006-2016 by Brian Cassidy

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO