Get headers first , see table_info in DBI, then use arrayref
See also ORLite
In reply to Re: selectall_arrayref with headers by Anonymous Monk in thread selectall_arrayref with headers by eddor1614