The HTML::Query module provides jQuery-like selection queries for HTML::Element. WWW: https://metacpan.org/release/HTML-Query