method

select_first

v3.2.13 - Show latest stable - Class: HTML::Selector
select_first(root)
public

Similar to #select but returns the first matching element. Returns nil if no element matches the selector.