NAME

Mojo::Collection::Role::Extra - provides methods for use with Mojo::DOM::Role::Analyzer

DESCRIPTION

METHODS

common

$dom->find('p')->common;
$dom->at('div.foo')->find('p');

Returns the lowest common ancestor for all nodes in a collection.

VERSION

version 0.014

SEE ALSO

Mojo::DOM::Role::Analyzer

AUTHOR

Steve Dondley <s@dondley.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2020 by Steve Dondley.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.