++ed by:
ADAMJS

1 PAUSE user(s)

刘刊

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.