in reply to Re^2: Parsing a file comprising blocks and comparing the blocksin thread Parsing a file comprising blocks and comparing the blocks
Also take a look at YAML (or YAML::Syck; and check out the YAML site for more info).