Config::Any::XML.3pm

Langue: en

Version: 2008-01-28 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

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 )


load( $file )

Attempts to load $file as an XML file.

is_supported( )

Returns true if XML::Simple is available.

AUTHORS

Brian Cassidy <bricas@cpan.org>

Joel Bernstein <rataxis@cpan.org>

Copyright 2007 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

Catalyst
Config::Any
XML::Simple