in reply to Re^5: untainting or encoding for shelled sqlplus update
in thread untainting or encoding for shelled sqlplus update

Start with what Herkum suggests above. Make one database handle. But then create a function that (maybe untaints the data and then) calls $dbh->quote() on its argument and returns the results, then use Interpolate to tie a hash to that function. Or, don't use DBI, and just wing it to create your own escaping function.