in reply to Re: &&= vivify keys?
in thread &&= vivify keys?

It has been my experience that “tied hashes” don’t necessarily work as ordinary true hashes do.   I don’t profess to know the perlguts of it, and it seems to be somewhat implementation-dependent.

My approach in any case would simply be to test whether the key exists or not, with an if-statement.   That should work in every case and at the same time be perfectly clear.

Replies are listed 'Best First'.
Re^3: &&= vivify keys?
by Your Mother (Archbishop) on Mar 30, 2018 at 22:14 UTC

    I know it's many years late but I would like to know exactly in what ways you have noticed tied hashes acting differently.