in reply to Configuration file parsing?

Why don't you take one slight step further and just write your configuration file in XML. Then take a look at XML::Simple, which was originally built, I believe, for parsing XML config files.

It uses XML::Parser internally, so you'll need to install that as well.

use XML::Simple; my $conf = XMLin("/foo/bar.xml");
To see the format of the data you get back, use Data::Dumper:
use Data::Dumper; print Dumper $conf;