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)

Friday November 15, 2002
02:10 PM

HTML::TokeParser::Simple

[ #8968 ]

I released a new version of HTML::TokeParser::Simple. Amongst other things, I realized that I had a serious design boo-boo. I blessed the returned tokens into the same class as the parser, thus allowing people to attempt to call parser methods on tokens. This was generating strange "Can't coerce ARRAY into HASH" errors. I was so close to the module that it never occurred to me that people would try and do this, but once they did, it was obvious what a dork I was being.

Tokens are now blessed into their own class and trying to call parser methods on them is fatal. One day, in the far future, things like that will be obvious to me. It's still not perfect, though. Naturally, after releasing it, I saw a few errors in the POD. On the plus side, this means that the next update will occur much sooner.

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.