in reply to Parsing a file with parentheses to build a hash

Maybe take a look at Parse::RecDescent: "Generate Recursive-Descent Parsers".
  • Comment on Re: Parsing a file with parentheses to build a hash