Config::Mini::WithRegexp
It is a extension format Config::Mini with supporting regex.
Betta version.
# 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
git@github.com:mrRico/p5-Config-Mini-WithRegexp.git
Config::Mini
mr.Rico <catamoose at yandex.ru>
To install Config::Mini::WithRegexp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Config::Mini::WithRegexp
CPAN shell
perl -MCPAN -e shell install Config::Mini::WithRegexp
For more information on module installation, please visit the detailed CPAN module installation guide.