![]() |
|
Do you know where your variables are? | |
PerlMonks |
Hash throws out duplicate valuesby spickles (Scribe) |
on Oct 12, 2009 at 08:43 UTC ( [id://800628]=perlquestion: print w/replies, xml ) | Need Help?? |
spickles has asked for the wisdom of the Perl Monks concerning the following question: Why does an array hash throw out duplicate values? I have a database of objects (34 in total) and of the 7 or 8 different keys, 6 are the same with the other two being unique. When I place these keys into an array hash by querying the database and pulling from the database records it tosses out duplicates. I want to keep them.
Example input:
Example output:
Back to
Seekers of Perl Wisdom
|
|