Both exists and defined still can autovivify on deep hashes though.
No, it's the dereference operator that does the autovivification. Any autovivification occurs before defined and exists are called.
$ perl -MData::Dumper -e'$h{notexist}{baz}; print Dumper \%h' $VAR1 = { 'notexist' => {} };
In reply to Re^6: eval, Read environment variable and expand using eval
by ikegami
in thread eval, Read environment variable and expand using eval
by tart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |