in reply to
Use of fetchall_hashref
If you only need a certain value for the "id" column, it's best to only query that value from the databases instead of reimplementing the search in Perl.
Comment on
Re: Use of fetchall_hashref
In Section
Seekers of Perl Wisdom