|
|
| "be consistent" | |
| PerlMonks |
Re: diff of two hashes.by Russ (Deacon) |
| on May 12, 2000 at 16:59 UTC ( [id://11320]=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.
<Updated> I like nuance's idea (above). I now store undef as the value when a key is missing from one hash. See nuance's description above for an explanation of the "return" values. </Updated> Here's some punctuation for you: (This is a short, concentrated way to do it - only 4 lines) A couple points to note:
Enjoy! Russ
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||