How else would you find something other than look for it? Personally I think two lines of code isn't exactly long winded. You could write a subroutine if you have to do this a few times that accepts your AoH and the string you are searching for. But yes, you still have to loop through it.
In reply to Re: easy way to extract a hash from an array?
by MCS
in thread easy way to extract a hash from an array?
by rmexico
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |