in reply to Re: Clarity in parsing fixed length data.
in thread Clarity in parsing fixed length data.

It's so very hard to read. What's important is to hide the gory details and provide a neat interface

And that's why I like Parse::FixedLength. The interface is very similar to what you have. I used to rewrite the same gory details over and over (similar to what the OP has) until they were stuffed into that module.

  • Comment on Re^2: Clarity in parsing fixed length data.