> my @search_strings = (
> '{ \'like\', "%$Term1%" }',
> '{ \'like\', "%$Term1%" },{ \'like\', "%$Term2%" }',
> ...etc...
> );
I don't think you want literal strings in there.. do you mean:
my @search_strings = (
[{ 'like', "%$Term1%" }],
[{ 'like', "%$Term1%" },{ 'like', "%$Term2%" }],
...etc...
);
cheers,
J
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]