in reply to one hash value (array) into another
It all depends on what you mean by "equivalent". To copy the contents of the array, you would do
$hash{'two'} = [ @{$hash{'one'}} ];To make sure that they both reference the same array, just
$hash{'two'} = $hash{'one'};I assume that you mean the former though.
Update: /me suddenly experiences a strange sense of deja vu and decides he needs to type faster or notice newer nodes sooner or both :-)
|
|---|