刘刊 > pantheon-0.58 > Janus::Conf

Download:
pantheon-0.58.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Janus::Conf - Load/Inspect maintenance configs

SYNOPSIS ^

 use Janus::Conf;

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

CONFIGURATION ^

YAML file that defines sets of maintenance parameters index by names. Each set defines the following parameters:

 target : targets of maintenance, to be devided into batches.
 maint : name of maintainance code.
 batch : name of batch code.
 param : ( optional ) parameters of batch code.

METHODS ^

dump( @name )

Returns configurations indexed by @name.

names

Returns names of all maintenance.

syntax highlighting: