![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re: building a hash from a databaseby Codon (Friar) |
on May 02, 2006 at 16:10 UTC ( [id://546941]=note: print w/replies, xml ) | Need Help?? |
How big of a CSV are we looking at here? If you have the memory, you could simplify with $sth->fetchall_arrarref({}) which would give you something like this:
Then with your friend map, you can massage this structure thusly: which would result in something along the lines of
Ivan Heffner Sr. Software Engineer, DAS Lead WhitePages.com, Inc.
In Section
Seekers of Perl Wisdom
|
|