foreach my $type ( keys %sandwichHash ) { print "Sandwich $type\n" if $sandwichHash{$type} eq 'burger'; }
In reply to Re: One to many hash question
by apl
in thread One to many hash question
by BengalsRock
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |