in reply to
getting text from HTML
Shout out to
Web::Scraper
. It takes some time to wrap your head around it, but it's pretty good for writing robust scrapers. Relying on the DOM itself makes your scraper very brittle, especially if this is an HTML source that you do not control.
Comment on
Re: getting text from HTML
In Section
Seekers of Perl Wisdom