$crd=$ref->{$key}->{NAME}; [download]
$ref->{$key}->{NAME}=$new_name; [download]
In reply to Assigning value through references by Anonymous Monk