NAME HTML::Query - jQuery-like selection queries for HTML::Element SYNOPSIS Creating an "HTML::Query" object using the Query() constructor subroutine: use HTML::Query 'Query'; # using named parameters $q = Query( text => $text ); # HTML text $q = Query( file => $file ); # HTML file $q = Query( tree => $tree ); # HTML::Element object $q = Query( query => $query ); # HTML::Query object $q = Query( text => $text1, # or any combination text => $text2, # of the above file => $file1, file => $file2, tree => $tree, query => $query, ); # passing elements as positional arguments $q = Query( $tree ); # HTML::Element object(s) $q = Query( $tree1, $tree2, $tree3, ... ); # or from one or more existing queries $q = Query( $query1 ); # HTML::Query object(s) $q = Query( $query1, $query2, $query3, ... ); # or a mixture $q = Query( $tree1, $query1, $tree2, $query2 ); # the final argument (in all cases) can be a selector my $spec = 'ul.menu li a'; #