in reply to Re: Setting the value of a complicated hash ref
in thread Setting the value of a complicated hash ref
If later, you allow a text string to be assigned to $pos[$depth] then at the next depth the program fails because \${$pos[$depth - 1]} is now not a hash reference.$pos[$depth] = \${$pos[$depth - 1]}->{$element->{Name}};
|
|---|