The way you have laid it out - With ctilmes' comments included - would seem to be an ideal case for a lightweight OO approach?Right now, it is using the OO heavyweight - Moose. (grin).
The first few test cases pass in my git repo for the source More late-breaking hacker news as it surfaces!
In reply to Re^2: A data structure for XML generation
by metaperl
in thread A data structure for XML generation
by metaperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |