in reply to Parsing a text file in Perl.

Your text file looks like the output of a diff between two hexdumps of log files.

If you are doing this for learning purposes or are creating a Rube_Goldberg_machine for showing off :-) then go ahead, but, as others have already written, it would not only be easier, but also more stable, if you could start from an "easier" format, e.g. a diff between the "original" logs...