|
|
| more useful options | |
| PerlMonks |
Re: Check if hash key value pair is definedby Anonymous Monk |
| on Nov 15, 2012 at 14:18 UTC ( #1004021=note: print w/ replies, xml ) | Need Help?? |
|
A data structure as-described must consist of a hash whose values are arrayrefs (or hashrefs). Therefore, first check to see if the key exists(), then use e.g. grep() to look for the desired value.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||