in reply to Autovivification Oddity

Your last example is comparable to

perl -wMstrict -MData::Dump -e' my $x = $a->{list}->[0]; dd $a' { list => [] }

since indexing autovivifies the anonymous array, as perlref explains. Retrieving its highest index is also a way of indexing.

But I agree, autovivification is important enough to warrant a section on its own in e.g. perldata, which mentions it only once and refers to perlref.

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'