We don't know that he's necessarily using DBI,
We do. He explicitely stated that @rows comes from DBI::fetchrow_array().
He wasn't asking for advice on how to refactor the code.
Maybe not, but the OP's question was answered, and it's tradition to offer alternatives, especially when they are better.
In reply to Re^3: Hash newbie
by ikegami
in thread Hash newbie
by christiffer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |