Re: DBI fetchall_arrayref

2009-02-27 Thread John W. Krahn
Chas. Owens wrote: On Fri, Feb 27, 2009 at 08:43, David Shere wrote: The following sub uses "fetchall_arrayref" in the DBI module to put the results of an SQL command into an array, where each element of the array is a hash of that records name/value pairs. The documentation says to pass it a

Re: DBI fetchall_arrayref

2009-02-27 Thread Chas. Owens
On Fri, Feb 27, 2009 at 08:43, David Shere wrote: > The following sub uses "fetchall_arrayref" in the DBI module to put the > results of an SQL command into an array, where each element of the array > is a hash of that records name/value pairs.  The documentation says to > pass it a reference to a

DBI fetchall_arrayref

2009-02-27 Thread David Shere
The following sub uses "fetchall_arrayref" in the DBI module to put the results of an SQL command into an array, where each element of the array is a hash of that records name/value pairs. The documentation says to pass it a reference to a hash. My interpretation of that requirement is below. Di