I would strongly reccomend against HTML::TokeParser::Simple.
While initially it looks very useful, it is very unstable
and it breaks too frequently for my taste, for example
.
Instead of trying to figure out what was broken in HTML::TokeParser::Simple, I simply went back to using HTML::TokeParser. Nothing to debug, nothing to worry about anymore.