in reply to Storing the results of a SQL select query that reutrns more than one row into a perl array
You use DBI, and pick an appropriate fetch_* method, like fetchall_arrayref.