Hello ,
i didn't understand what you're trying to accomplish here , but this may help you out
my %HASH = ('Key' => 1,'Other' => 0 , 'Nothing' => 3); while (my ($key,$value) = each %HASH) { if($value > 1){ print "Found Key : $key with a value : $value \n"; } }
In reply to Re: printing Hash
by ahmad
in thread printing Hash
by perlbeginner10
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |