NAME

Config::Mini::WithRegexp

DESCRIPTION

It is a extension format Config::Mini with supporting regex

SYNOPSIS

# example yours.ini
[test]
test = 12
testre =~ /^(\d+)$/


# in code
my $cnf = Config::Mini::WithRegexp->new($file);
# $cnf similar Config::Mini
$cnf->regexp_prepare;
my $test = '123';
print $test =~ $cnf->section('test')->{testre} ? 1 : 0; # print 1
$test = '123www';
print $test =~ $cnf->section('test')->{testre} ? 1 : 0; # print 0

SOURSE

git@github.com:mrRico/p5-Config-Mini-WithRegexp.git

SEE ALSO

Config::Mini

AUTHOR

mr.Rico <catamoose at yandex.ru>