刘刊 > pantheon-0.58 > Pan::Conf

Download:
pantheon-0.58.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Pan::Conf

SYNOPSIS ^

 use Pan::Conf;

 my $conf = Pan::Conf->new( '/conf/file' )->dump( 'foo' );

CONFIGURATION ^

A YAML file that defines groups of configurations index by names. Each group defines the following parameters:

 target : nodes in each group.
 transform : a list of transforms to apply to target.

METHODS ^

dump( @name )

Returns configurations indexed by @name.

names

Returns names of all groups.

syntax highlighting: