|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: hash of arrays of arraysby Cristoforo (Chaplain) |
| on Aug 23, 2012 at 23:06 UTC ( #989404=note: print w/ replies, xml ) | Need Help?? |
|
I believe philiprbrenan found your problem. Every time you found an entry with a new '$clean' key, you were wiping out the other entries in the hash with: %duplicates = ($clean => [$equ, $pmf, $pro, $serial, $usr, $date]); Here is a code similiar to your problem that prints the duplicates. Output:
Chris Update: Don't know why I pulled $clean out. This version doesn't.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||