Re: retrieving an array of hashes from fetchall_arrayref()

2001-12-13 Thread sherzodR
JK: What I really want it to return however, is an array of hashes. According JK: to the Perl DBI API, this method does exactly that if you pass it a hash JK: slice reference argument. Can anyone provide some sample code for doing JK: this? my $rows = $dbh->selectall_hashref("S

retrieving an array of hashes from fetchall_arrayref()

2001-12-13 Thread Janakiram Koka
Hi all, I want to retrieve multiple rows from a table in one shot. I can find plenty of documentation on how to do this with the fetchall_arrayref() method where it returns an array of arrays. What I really want it to return however, is an array of hashes. According to the Perl DBI API, this m