Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

Ovid
  (email not shown publicly)
http://publius-ovidius.livejournal.com/
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Saturday September 18, 2004
01:45 PM

HTML::TokeParser::Simple 3.0

[ #20932 ]

HTML::TokeParser::Simple 3.0 is on its way the CPAN.

  • '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. (e.g., HTML::TokeParser::Simple->new(url => $url)
  • $token->set_attr($token->return_attr) now works.
  • Added is_pi(), shorthand for is_process_instruction().
  • Broke out HTML::TokeParser::Simple::Token into its own file. I may eventually refactor this into separate classes.

There were other changes I was going to make, but I wanted to keep the changes to the new version at a minimum until I find out if there are any problems.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.