See DBI for ->fetchrow_arrayref and the Slice => {} parameter.
In reply to Re^3: Using Varibale for HAsh name by Corion in thread Using Varibale for HAsh name by shawshankred