Although I would argue that your code is making an unnecessary copy of an unnecessary copy. So hopefully you aren't optimizing for performance... just programmer flexibility.while (my $ret = $sth->fetchrow_hashref) { my %user = %$ret; ... }
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to •Re: Hash from DBI
by merlyn
in thread [untitled node, ID 254219]
by Samn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |