http://qs321.pair.com?node_id=1188245


in reply to Module for substituting complex criteria into hand-written SQL queries

From SQL::Abstract's docs:
# Just generate the WHERE clause my($stmt, @bind) = $sql->where(\%where, $order);

Just plug that into your own SQL.