while ( my ($key, $value) = each(%HASH) ) { print "$key$HASH{$key}->{COUNT}\n"; }