develooper Front page | perl.libwww | Postings from March 2001

HTML::Parser: document events

Thread Next
From:
Bjoern Hoehrmann
Date:
March 11, 2001 11:27
Subject:
HTML::Parser: document events
Message ID:
46knatk76ia1eht5o4jouar0j4rtaof2ls@4ax.com
Hi,

I suggest to introduce two new events for HTML::Parser:

  * init: raised when parse() is called the first time
  * eof: raised when eof() was called or parse_file() finishes

This improves compatibility with other APIs like SAX or SAC.
-- 
Björn Höhrmann ^ mailto:bjoern@hoehrmann.de ^ http://www.bjoernsworld.de
am Badedeich 7 ° Telefon: +49(0)4667/981028 ° http://bjoern.hoehrmann.de
25899 Dagebüll # PGP Pub. KeyID: 0xA4357E78 # http://learn.to/quote [!]e
        -- If something is worth writing it is worth keeping --         

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About