|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: Advanced Hashby knobunc (Pilgrim) |
| on Apr 13, 2001 at 20:24 UTC ( [id://72471]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
As Russ pointed out, you are not making an array in the second case. However, you are also not comparing the hashes correctly in the first case since the %hashCompany might have additional stuff that you will not see. So:
would pass your check above. You can quickly check that with keys() to see how big the hashes are and shortcircuit if they are different sizes. Not that this helps answer your real question. I would try but I am not yet sure what you want your data structure to look like. -ben
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||