in reply to RFC:Hacking Tie::File to read complex data
I think this data should rather be handled by DBI+DBD::AnyData. You'll define the format and then be able to group and sort the data in any way you need.
Jenda