That code doesn't run. Something about $parser not having a value. You'd think it would be a XML::SAX::PurePerl object, but it doesn't have a parse_string method. What are you talking about?!
And why are you trying to redefine < and >? Those are two of the four entities XML understand nativly. I've even shown that XML::SAX::PurePerl handles them.
Update: Must have run a bad test. It does indeed have parse_string.
In reply to Re^3: XML::SAX::PurePerl, handle entities
by ikegami
in thread XML::SAX::PurePerl, handle entities
by VirtualRider
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |