in reply to
Handling different sections in config files
I personally prefer
Config::General
and
Config::IniFiles
for this sort of thing. It handles exactly what you're parsing without much effort at all.
Comment on
Re: Handling different sections in config files
In Section
Seekers of Perl Wisdom