NAME
Text::Query::SolveSimpleString - Apply query expression on strings
SYNOPSIS
use Text::Query;
my $q=new Text::Query('+hello +world',
                      -parse => 'Text::Query::ParseSimple',
                      -solve => 'Text::Query::SolveSimpleString',
                      -build => 'Text::Query::BuildSimpleString');
$q->match('this hello is a world')
DESCRIPTION
Applies an expression built by Text::Query::BuildSimpleString to a list of strings.
METHODS
- match ([TARGET])
 - 
If
TARGETis a scalar,matchreturns a true value if the string specified byTARGETmatches the query object's query expression. IfTARGETis not given, the match is made against$_.If
TARGETis an array,matchreturns a (possibly empty) list of all matching elements. If the elements of the array are references to sub- arrays, the match is done against the first element of each sub-array. This allows arbitrary information (e.g. filenames) to be associated with each string to match.If
TARGETis a reference to an array,matchreturns a reference to a (possibly empty) list of all matching elements. - matchscalar ([TARGET])
 - 
Behaves just like
MATCHwhenTARGETis a scalar or is not given. Slightly faster thanMATCHunder these circumstances. 
AUTHORS
Eric Bohlman (ebohlman@netcom.com)
Loic Dachary (loic@senga.org)
Jon Jensen, jon@endpoint.com
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 118:
 You forgot a '=back' before '=head1'