Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
martian
· 16y ago · 0 comments
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.
Comments
[–]
gloob
16y ago
Ahem.
http://www.perl.com/doc/manual/html/lib/strict.html
[–]
martian
OP
16y ago
Ouch, should have RTFM. Thanks for the pointer.
[–]
geoscripting
16y ago
strict is a standard perl module. HTML::TreeBuilder seems to work just as well with malformed HTML.