Hi,
Is it possible to change a keyname in a hash? My keys values in the hash references to arrays. I have a option in my script where you can change the information in the hash.
After I have changed the values in the array inside my hash I want to change the keyname "$hash{$matching_keys[$val]" to something else.
Is it possible to change a keyname in a hash? My keys values in the hash references to arrays. I have a option in my script where you can change the information in the hash.
Code:
chomp($hash{$matching_keys[$val]}[0]=<STDIN>);
chomp($hash{$matching_keys[$val]}[1]=<STDIN>);
chomp($hash{$matching_keys[$val]}[2]=<STDIN>);