Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 17.4 The HTML ModuleChapter 17
The LWP Library
Next: Reference: parse_file
 

parse

 $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.


Previous: 17.4 The HTML ModulePerl in a NutshellNext: Reference: parse_file
17.4 The HTML ModuleBook IndexReference: parse_file