in reply to
how to parse a query
There's an ancient, unmaintained, module on CPAN to parse such queries, if I understood its purpose correctly:
Text::Query
.
Comment on
Re: how to parse a query
In Section
Seekers of Perl Wisdom