1Config::Any::XML(3)   User Contributed Perl Documentation  Config::Any::XML(3)
2
3
4

NAME

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

DESCRIPTION

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

METHODS

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

CAVEATS

33   Strict Mode
34       If, by some chance, XML::Simple has already been loaded with the strict
35       flag turned on, then you will likely get errors as warnings will become
36       fatal exceptions and certain arguments to XMLin() will no longer be
37       optional.
38
39       See XML::Simple's strict mode documentation for more information.
40

AUTHORS

42       Brian Cassidy <bricas@cpan.org>
43
44       Joel Bernstein <rataxis@cpan.org>
45
47       Copyright 2006-2016 by Brian Cassidy
48
49       This library is free software; you can redistribute it and/or modify it
50       under the same terms as Perl itself.
51

SEE ALSO

53       •   Catalyst
54
55       •   Config::Any
56
57       •   XML::Simple
58
59
60
61perl v5.36.0                      2023-01-20               Config::Any::XML(3)
Impressum