in reply to Hashref for specific values

hmadhl:

So you're wanting to take only a portion of the columns? Why not just ask for the columns you want?

my @t=DBI::selectall_arrayref("select col1, col2 from foo where bar=ba +z");

...roboticus

When your only tool is a hammer, all problems look like your thumb.