in reply to Assigning value through references

Yes. Note that the second arrow is unneeded, due to the double-subscript rule of dereferencing:
my $crd = $ref->{$key}{NAME}; $ref->{$key}{NAME} = $new_name;
If you use strict and use warnings, then Perl will spot many invalid uses rather than silently converting them to symbolic references. See also perlreftut.

Replies are listed 'Best First'.
Re^2: Assigning value through references
by Anonymous Monk on Oct 09, 2007 at 06:05 UTC
    Thank you for clarifying the doubt.
    A reply falls below the community's threshold of quality. You may see it by logging in.