HTML parser class
Objects of the HTML::Parser class will recognize markup and separate it
from plain text (alias data content) in HTML documents. As different
kinds of markup and text are recognized, the corresponding event handlers
are invoked.
HTML::Parser is not a generic SGML parser. We have tried to make it able to
deal with the HTML that is actually "out there", and it normally parses as
closely as possible to the way the popular web browsers do it instead of
strictly following one of the many HTML specifications from W3C. Where
there is disagreement, there is often an option that you can enable to
get the official behaviour.
The document to be parsed may be supplied in arbitrary chunks. This makes
on-the-fly parsing as documents are received from the network possible.
If event driven parsing does not feel right for your application, you might
want to use HTML::PullParser. This is an HTML::Parser subclass that allows
a more conventional program structure.
- Sources inherited from project openSUSE:Leap:15.0:Rings:1-MinimalX
- Links to remote openSUSE:Leap:15.0 / perl-HTML-Parser
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:15.0:Staging:A/perl-HTML-Parser && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
HTML-Parser-3.72.tar.gz | 0000090680 88.6 KB | |
cpanspec.yml | 0000000669 669 Bytes | |
perl-HTML-Parser.changes | 0000010475 10.2 KB | |
perl-HTML-Parser.spec | 0000002741 2.68 KB |
Latest Revision
fix links
Comments 0