Lire::Config::Parser3pm
Creates a lire::config::configfile object from xml
Usage
use Lire::Config;use Lire::Config::Parser;my $parser = new Lire::Config::Parser( 'spec' => Lire::Config->config_spec());my $conf = $parser->parsefile( 'config.xml' );
Overview
Rather straightforward XML parser that follows the configuration specification to parse an XML file.
new( 'spec' => $spec )
Creates a parser object which will parse configuration file which validates against the Lire::Config::ConfigSpec specification $spec.
load_config_file( $file )
Parses the $file XML file and returns a Lire::Config::ConfigFile object representing it.
Version
$Id: Parser.pm,v 1.49 2006/07/23 13:16:30 vanbaal Exp $
Releases
6 releases since Debian 3.1 (Sarge); the text changed 5 times.