in reply to Hash value, containing a reference to some value of hash, not the intended behaviour.
Its simple, it boils down to
$newhash{something} and $hashcopy{something} are the same thing, a reference to %other;my %newhash; my %hashcopy; my %other; $hashcopy{something} = \%other; $newhash{something} = \%other;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Hash value, containing a reference to some value of hash, not the intended behaviour.
by rakeshrocks (Initiate) on Mar 14, 2011 at 11:24 UTC |