For what it's worth, I'd recommend switching to XML::Simple unless you need to access existing INI-type files. I've found it to be much more powerful; it allows you to structure your config data to suit your needs (eg: repeated elements, multi-level nesting, and so on).