> Does anyone have any ideas on what is a good way to > check the existance of a value for a key that has > multiple values? I'll assume that your hash table has the following structure: $hash{$key} = [ ]; that is, the value of each hash element is an array reference. Let's say you're looking for element "frazzle" in the key represented by variable $key : for $ele ( @{$hash{$key}} ) { if( $ele eq 'frazzle' ) { print "YEAH\n"; } } Luke -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
- Hashes with multiple values per key Sophia Corwell
- Re: Hashes with multiple values per key Luke Bakken
- Re: Hashes with multiple values per key Casey West
- Re: Hashes with multiple values per key Sophia Corwell
- RE: Hashes with multiple values per key RArul
- RE: Hashes with multiple values per key Luke Bakken
- RE: Hashes with multiple values per key RArul
- RE: Hashes with multiple values per key Bob Showalter
- Re: Hashes with multiple values per key Casey West
- Re: Hashes with multiple values per key Sophia Corwell
- RE: Hashes with multiple values per key Bob Showalter