in reply to double hash, array, and hashed data structure
Then enter these lines:$ perl -de ''
You'll see that $ref->{intervened} has been autovivified. Scary, isn't it? This also applies to dereferencing arrays.undef $ref exists $ref->{intervened}->{notvivified} # should not exist x $ref
|
|---|