*shrug* I don't know why...it just does.execute(eval{join(',',@args),return(@args)});
One possible explanation is that the execute method is looking for separate arguments and not a list. Thus, I am taking a list and turning it into arguments.
summary of what I think is happening: The execute() method wants distinct arguments ie
execute(arg1,arg2,arg3) vs execute(qw(arg1 arg2 arg3)) which is the same, of course, as execute(@args). The latter 2 examples don't work possibly because its a list instead of separate and distinct scalars respective to the number of place holders in the prepare() statement.
Does execute() not work this way?
Updated: Fixed syntax mistake with qw().
_
_
_
_
_
_
_
_
_
_
- Jim
Insert clever comment here...
In reply to Re: Re: Re: DBI execute() args in array format (or similar) possible?
by snafu
in thread DBI execute() args in array format (or similar) possible?
by snafu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |