Config::Constants::XML - Configuration loader for Config::Constants
use Config::Constants::XML;
This module reads and parses XML files as configuration files that look like this:
<config> <module name='Foo::Bar'> <constant name='BAZ' value='the coolest module ever' /> </module> </config>
This takes the file, loads, parses and stores the resulting configuration.
This will return an array of modules in this configuration.
Given a $module_name, this will return an array of hash references for each constant specified.
$module_name
None that I am aware of. Of course, if you find a bug, let me know, and I will be sure to fix it.
I use Devel::Cover to test the code coverage of my tests, see the Config::Constants module for more information.
stevan little, <stevan@iinteractive.com>
Copyright 2005 by Infinity Interactive, Inc.
http://www.iinteractive.com
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Config::Constants, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Config::Constants
CPAN shell
perl -MCPAN -e shell install Config::Constants
For more information on module installation, please visit the detailed CPAN module installation guide.