Using grep is deceptively fastSince it performs the iteration internally it is bound to be very fast indeed, and scalar context will also help as it saves on the assignment. Will also do my best not to offend anyone's aesthetic sensibilities in future ;)
_________
broquaint
In reply to Re: Re: Re:x2 Counting keys with defined or undefined elements in a hash
by broquaint
in thread Counting keys with defined or undefined elements in a hash
by Bukowski
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |