Perl-Sensitive Sunglasses | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I use regex to precisely tell perl what I want pulled out. You really don't want to do that. Regular expressions will potentially break on all but the simplest HTML pages. If you want to parse HTML then you should use HTML::Parser or one of its subclasses. Personally I usually use HTML::TreeBuilder.
-- <http://dave.org.uk> "The first rule of Perl club is you do not talk about
Perl club." In reply to Re: html analysis tool via regex
by davorg
|
|