in reply to HTML Parser suggestions
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 Section
Seekers of Perl Wisdom