foreach $key (keys %hash) { print $hash{$key} . "\n"; }