HTML::Parser is a collection of modules useful for handling HTML documents. These modules used to be part of the libwww-perl distribution, but are now unbundled in order to facilitate a separate development track. . Objects of the HTML::Parser class will recognize markup and separate it from content data. As different kinds of markup are recognized, the corresponding event handler is invoked. The document to be parsed may also be supplied in arbitrary chunks, making on-the-fly parsing of network documents possible.