Name
parse
Synopsis
$p
->parse(string
)
Reads HTML into the parser object from a given
string
. Performance problems occur if
the string is too large, so the HTML can be broken up into
smaller pieces, which will be appended to the data already
contained in the object. The parse can be terminated with a call
to the eof
method.
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.