Just another Perl shrine | |
PerlMonks |
(dkubb) Re: (5) Fastest way to compare multiple variables?by dkubb (Deacon) |
on May 18, 2001 at 12:22 UTC ( [id://81448]=note: print w/replies, xml ) | Need Help?? |
I too couldn't resist. A single walk through the hash's keys is the fastest way I could think of doing this:
IMHO, it's a little too obscure to be used in production code, but I think it still is a neat idiom.
In Section
Seekers of Perl Wisdom
|
|