in reply to Re: RFC: Placeholder creation for SQL statements
in thread RFC: Placeholder creation for SQL statements

> DBI already has the ability to pass an array of placeholder values to a query so that they will be substituted for the ? marks left-to-right.

But it only works if you know the number of the placeholders in advance, which is exactly the problem the OP tries to solve.

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,