Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: Mojo database routingby rajaman (Sexton) |
on Feb 22, 2020 at 00:19 UTC ( [id://11113325]=note: print w/replies, xml ) | Need Help?? |
Thanks @haukex, that's very helpful. Seems Mojo is pretty different from CGI in passing form parameters with GET.
I have one other question:
name => $c->stash('query') The above code matches exact full name (e.g. 'John Doe'). How to make make it do partial matching (and possibly case insensitive), such as: ..LIKE 'john%' ..LIKE 'john AND doe' ..LIKE '"john Doe"' ..MATCH 'NEAR("john" "doe", 0)' Cheers!
In Section
Seekers of Perl Wisdom
|
|