Re: Is ArrayTupleStatus in execute_array mandatory?



On Wed, Mar 29, 2006 at 03:57:39PM +0100, Martin J. Evans wrote:
According to the docs for execute_array:

"The mandatory ArrayTupleStatus attribute is used to specify a reference to
array which will receive the execute status of each executed parameter tuple."

It would appear in DBI 1.50 you can omit it:

$sth->execute_array({ });

Is it mandatory and the docs are correct or is it that DBI does not check for
its existence?

Um, ... checking the Changes file I find:

=head2 Changes in DBI 1.38, 21th August 2003

...
Changed execute_array() to no longer require ArrayTupleStatus attribute.
...

I've updated the docs.

Thanks.

Tim.
.