method

new

v3.2.13 - Show latest stable - Class: HTML::Selector
new(selector, *values)
public

Creates a new selector from a CSS 2 selector expression.

The first argument is the selector expression. All other arguments are used for value substitution.

Throws InvalidSelectorError is the selector expression is invalid.