in reply to Re^3: how to create shared hashes of arrays
in thread how to create shared hashes of arrays
yes there is difference
we can not assign it a reference unless we share that hash location
for hash of array
$hash{$key} = &share([]) (my case)
then we can do ---> $hash{$key} = $arr_ref;
for hash of hash
$hash{$key} = &share({})
then we can do ----> $hash{$key}{next_key} = "xxx";
Thanks
Sumit