Changing keys in a "for ( keys %hash ) {}"-loop
- by sid_com
Hello! I remember something about not changing the keys in a
for my $key ( keys %hash ) { ...
for example
for my $key ( keys %hash ) {
$key = "$key_x";
}
But deleting keys and changing values would be fine.
Are my memories OK?