Changes for version 3.0

  • 'get_foo' methods replace the older 'return_foo' methods. 'return_foo' methods now call the new 'get_foo' methods and are deprecated (though they do not yet issue warnings.)
  • The constructor has been overloaded to allow users to explicitly state the source type of the HTML, if necessary. Also, if LWP::Simple is installed, the HTML may now be fetched from a URL.
  • $token->set_attr($token->return_attr) now works.
  • Added is_pi(). A shorthand for is_process_instruction().
  • Broke out HTML::TokeParser::Simple::Token into its own file. I may eventually refactor this into separate classes.

Modules

easy to use HTML::TokeParser interface
Token class for HTML::TokeParser::Simple