刘刊 > pantheon-0.58 > Argos::Conf

Download:
pantheon-0.58.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Argos::Conf - Argos configuration interface.

SYNOPSIS ^

 use Argos::Conf;

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

 my $expr = '2w,1h,20s';
 my $sec = Argos::Conf->time( $expr );

INTERFACE ^

Configuration be a YAML file that contains a HASH of HASH.

check( $hash )

Inspects $hash at leaf-level.

METHODS ^

dump( @name )

Returns configurations indexed by @name.

names

Returns names of all watchers.

time( @expr )

Convert time expressions to seconds.

syntax highlighting: