Config::Any::XML(3pm)

Config::Any::XML3pm

Load xml config files

Overview

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.

Releases

10 releases since Debian 4.0 (Etch); the text changed 8 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10–11
  8. 12
  9. 13