|
|
| more useful options | |
| PerlMonks |
Re^3: Hash arraysby NetWallah (Monsignor) |
| on Dec 26, 2012 at 16:30 UTC ( #1010405=note: print w/ replies, xml ) | Need Help?? |
|
Yes - that looks cleaner, but it is not the equivalent.
Your code overwrites the contents of $family_hash{$key} while the OP's appends. "By three methods we may learn wisdom: First, by reflection, which is noblest; Second, by imitation, which is easiest; and third by experience, which is the bitterest." -Confucius
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||