Re: Column names when using selectall_arrayref

2006-05-04 Thread David Kaufman
Hi Bill, "Bill Moseley" <[EMAIL PROTECTED]> wrote: How do I get the column names as a list to match the order of the rows returned when using select/fetchall_arrayref [...] I'm not having luck finding it in the docs. See the "Statement Handle Attributes" section of the DBI docs: http://search.

Re: Column names when using selectall_arrayref

2006-05-03 Thread Jonathan Leffler
On 5/3/06, Bill Moseley <[EMAIL PROTECTED]> wrote: How do I get the column names as a list to match the order of the rows returned when using select/fetchall_arrayref and using an ARRAY slice? I'm not having luck finding it in the docs. I don't know the column names ahead of time -- I'm passed

Column names when using selectall_arrayref

2006-05-03 Thread Bill Moseley
How do I get the column names as a list to match the order of the rows returned when using select/fetchall_arrayref and using an ARRAY slice? I'm not having luck finding it in the docs. I don't know the column names ahead of time -- I'm passed a query and want to return the data in the column or