Workflow::Config::XML.3pm

Langue: en

Autres versions - même langue

Version: 2010-05-07 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Workflow::Config::XML - Parse workflow configurations from XML content

VERSION

This documentation describes version 1.05 of this package

SYNOPSIS

  my $parser = Workflow::Config->new( 'xml' );
  my $conf = $parser->parse( 'condition',
                             'my_conditions.xml', 'your_conditions.xml' );
 
 

DESCRIPTION

Implementation of configuration parser for XML files/data; requires XML::Simple to be installed. See Workflow::Config for "parse()" description.

METHODS

parse ( $type, @items )

This method parses the configuration provided it is in XML format.

Takes two parameters: a $type indication and an array of of items

Returns a list of config parameters as a array upon success.

SEE ALSO

XML::Simple

Workflow::Config

Copyright (c) 2004 Chris Winters. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHORS

Chris Winters <chris@cwinters.com>