I have a question about hash autovivification. I can check how it really works but I want to be sure that this behavior will not change in the future. So I need some reference to documentation.
If we have hash variable %hashtest, is it always guaranteed that defined($hashtest{abc}) or $hashtest{abc} // '?' will not autovivify for not existing keys? Or one have to always use exists($hashtest{abc}) && defined($hashtest{abc}) mantra?
In reply to Are defined or // garantee not to autovivify? by NisSam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |