Don't ask to ask, just ask | |
PerlMonks |
Re: DBI execute() args in array format (or similar) possible?by perrin (Chancellor) |
on Aug 12, 2002 at 20:01 UTC ( [id://189613]=note: print w/replies, xml ) | Need Help?? |
Now, I know why I am getting this error; because I am trying to call execute with the args as an array vs listing the args out manually. No, I think you're getting this error because there is only one thing in your @args array. Your calling syntax looks correct. By the way, it's preferable to say this: Or if you prefer to use multiple calls to shift, don't put the scalar variable name in list context the way you have it now.
In Section
Seekers of Perl Wisdom
|
|