Anthony Brummett > UR > UR::BoolExpr::Template::PropertyComparison::Like

Download:
UR-0.43.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.43   Source  

NAME ^

UR::BoolExpr::Template::PropertyComparison::Like - perform an SQL-ish like test

DESCRIPTION ^

The input test value is assummed to be an SQL 'like' value, where '_' represents a one character wildcard, and '%' means a 0 or more character wildcard. It gets converted to a perl regular expression and used to match against an object's properties.

If the property returns multiple values, this comparison returns true if any of the values match.

syntax highlighting: