NAME

SECO::Conf - Search Engine Configuration

SYNOPSIS

use SECO::Conf;

my $conf = SECO::Conf->load( '/conf/file' );

my @host = $conf->list( host => 2 ); ## host list of 2nd replica
my @vips = $conf->list( vips => 1 ); ## vips list of 1st replica

my %vips = $conf->dump( vips => 3 );
my @seco = $conf->dump( seco => 1 );
my %conf = $conf->dump( hash => 2 );