The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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.015

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.