http://www.perlmonks.org?node_id=1017396


in reply to Re: Perl bug ?
in thread Perl bug ?

You are right.
#!/usr/bin/perl my $errors = undef; $errors->[0]; print $errors
prints ARRAY(0x15bad48). I didn't realize that autovivification happens even on read-only access =)