What about one of the many INI parsers on CPAN?
Using a quick search produces several examples that look OK at first glance (I have not tried them or looked past the main description): Config::Parser::Ini, Config::INI, Config::Any::INI, Config::Format::Ini
In reply to Re: Expanding environment variables from ini file
by swl
in thread Expanding environment variables from ini file
by Lotus1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |