Lire::Config::Parser(3pm)

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.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. Arch

Authors

  Wessel Dankers <[email protected]>
  Francis J. Lacoste <[email protected]>

From lire 2.1.1-8 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.