in reply to Extracting data from Apache style config files
Ah, CPAN, the usable FAQ. Try Apache::ConfigFile, and you should have eveything you need.