seems to me you are going to a lot of trouble to return a single row.
#sniglet # # somewhere in your while loop return { names => $row->{names} } if $row->{names};
In reply to Re: Returning hash reference from a sub
by blue_cowdawg
in thread Returning hash reference from a sub
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |