Yes, there is a better way to do this, but it doesn't have to do with not knowing your perl, but rather your DBI. You want fetchrow_hashref.
In reply to Re: Making hashes from arrays
by theorbtwo
in thread Making hashes from arrays
by CodeJunkie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |