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.
In reply to Re^2: Clarity in parsing fixed length data.
by runrig
in thread Clarity in parsing fixed length data.
by rodion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |