I understand this is wrong but can't find an explanation for using variables as hash values. thanks for your help pros.$test = 'test'; %hash = ( t => $test); $change = 'changed'; $hash{t} = $change; #I just want to change $test to 'changed' not $hash{t} to $change
In reply to Changing a variable which is a value of a hash by benedicth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |