in reply to Re: DBI reports too many bind variables
in thread DBI reports too many bind variables

The OP may also be interested in Class::DBI or SQL::Abstract, both of which can save lots of time and coding. (Also note that DBIx::Simple supports using SQL::Abstract)
  • Comment on Re^2: DBI reports too many bind variables