in reply to Re: How to return $ref from: $ref = $sth->fetchall_arrayref;
in thread How to return $ref from: $ref = $sth->fetchall_arrayref;
Thanks for your help. I persisted, changed the for loop to foreach and it worked. (crazy). Anyway, thanks for letting me know I was on the right track.