Strategies to handle a file with multiple fixed formats
This question is not Perl-specific, (although the unpack function will most probably figure into my implementation). I have to deal with files where multiple formats exist to hierarchically break down the data into meaningful sections. What I'd like to be able to do is parse the file data into a suitable data structure. Here's an examp...