2 ms·
This line seems problematic: use strict; Most of the web is messy. Beautiful Soup and its ilk would seem like a better choice for parsing.
by martian 17y ago
This line seems problematic:
use strict;
Most of the web is messy. Beautiful Soup and its ilk would seem like a better choice for parsing.
- gloob 17y agoAhem. http://www.perl.com/doc/manual/html/lib/strict.html http://www.perl.com/doc/manual/html/lib/strict.html
- martian 17y agoOuch, should have RTFM. Thanks for the pointer.
- geoscripting 17y agostrict is a standard perl module. HTML::TreeBuilder seems to work just as well with malformed HTML.