If you are determined to directly use XML::Parser anyway,
check out replies to my question here.
especialy this solution with closures.
In reply to Re: Perl objects and code references
by gildir
in thread Perl objects and code references
by mallet
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |