Workflow::Config::Perl.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::Perl - Parse workflow configurations as Perl data structures

VERSION

This documentation describes version 1.03 of this package

SYNOPSIS

  # either of these is acceptable
  my $parser = Workflow::Config->new( 'perl' );
  my $parser = Workflow::Config->new( 'pl' );
  
  my $conf = $parser->parse( 'condition',
                             'my_conditions.pl', 'your_conditions.perl' );
 
 

DESCRIPTION

Implementation of configuration parser for serialized Perl data structures from files/data. See Workflow::Config for "parse()" description.

METHODS

parse

This method is required implemented by Workflow::Config.

It takes two arguments:

*
a string indicating the type of configuration. For a complete list of types please refer to Workflow::Config
*
a list of filenames containing at least a single file name

The method returns a list of configuration parameters.

SEE ALSO

Workflow::Config Copyright (c) 2004, 2005, 2006 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

Jonas B. Nielsen (jonasbn) <jonasbn@cpan.org>, current maintainer.

Chris Winters <chris@cwinters.com>, original author.