1Config::Any::XML(3) User Contributed Perl Documentation Config::Any::XML(3)
2
3
4
6 Config::Any::XML - Load XML config files
7
9 Loads XML files. Example:
10
11 <config>
12 <name>TestApp</name>
13 <component name="Controller::Foo">
14 <foo>bar</foo>
15 </component>
16 <model name="Baz">
17 <qux>xyzzy</qux>
18 </model>
19 </config>
20
22 extensions( )
23 return an array of valid extensions ("xml").
24
25 load( $file )
26 Attempts to load $file as an XML file.
27
28 requires_all_of( )
29 Specifies that this module requires XML::Simple in order to work.
30
32 Strict Mode
33 If, by some chance, XML::Simple has already been loaded with the strict
34 flag turned on, then you will likely get errors as warnings will become
35 fatal exceptions and certain arguments to XMLin() will no longer be
36 optional.
37
38 See XML::Simple's strict mode documentation for more information.
39
41 Brian Cassidy <bricas@cpan.org>
42
43 Joel Bernstein <rataxis@cpan.org>
44
46 Copyright 2006-2010 by Brian Cassidy
47
48 This library is free software; you can redistribute it and/or modify it
49 under the same terms as Perl itself.
50
52 · Catalyst
53
54 · Config::Any
55
56 · XML::Simple
57
58
59
60perl v5.12.1 2010-02-15 Config::Any::XML(3)