Did you look at t/15array.pl in the DBI distribution?
In reply to Re: DBI execute_array by roboticus in thread DBI execute_array by plendid