Perl: the Markov chain saw | |
PerlMonks |
Re^2: Common hash keysby moritz (Cardinal) |
on Jun 07, 2008 at 07:56 UTC ( [id://690807]=note: print w/replies, xml ) | Need Help?? |
Your inner loop could be described as clubbing somebody to death with a loaded uzi. No need to iterate over the hash keys just to check if one is present. Looking up a key in a hash is the most basic operation a hash offers ;-)
In Section
Seekers of Perl Wisdom
|
|