Taking the HoA a bit further, I would use the record types as keys in a dispatch table consisting of code references to sub-routines that know how to parse an individual record type into a meaningful structure, and of course the start and stop record handlers would know how to initialize the structure and assemble the pieces into a whole for storage, etc., respectively.
In reply to Re: Statement Parsing and Rendering
by boftx
in thread Statement Parsing and Rendering
by PerlSufi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |