laziness, impatience, and hubris | |
PerlMonks |
Re: DBI execute() args in array format (or similar) possible?by dws (Chancellor) |
on Aug 12, 2002 at 19:37 UTC ( [id://189599]=note: print w/replies, xml ) | Need Help?? |
If you're going to build up bind parameter values by pushing them onto an array, you have to be extra careful to push the right number. Your query has 4 bind markers. You must supply 4 values. If there are 4 values in the array, DBI won't complain that it's seeing one.
Check the size of @args. I'll bet you have an upstream problem with command-line argument processing.
In Section
Seekers of Perl Wisdom
|
|