Man, this looks just like XML - you should consider using
XML::Parser
if you don't feel like coding a lot of nasty regex code.
It also might be a little easier then
Parse::RecDescent.
Jeff
Comment on (jeffa) Re: How to creat a flat file from config. file?