Your thinking appears totally left field. First with DBI you can retrireve rows as hashrefs where the key is already the column name. Next how does the data get into $foo1 in the first place. Why not just put it into a hash in the first instance and then use the hash?
cheers
tachyon
In reply to Re^3: getting the name of a variable to use as string
by tachyon
in thread getting the name of a variable to use as string
by pmneve
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |