I kinda like Mojo::DOM. It allows you to search for HTML tags with CSS selectors.
A typical example would be
use 5.010; use Mojo::DOM; my $dom = Mojo::DOM->new($html_string); $dom->find('div.your_attribute)->each(sub { say shift->all_text; });
In reply to Re: HTML Parser suggestions
by moritz
in thread HTML Parser suggestions
by spatterson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |