Subject: | strict/warn flags seem to simply do nothing |
marketequalizer:~# perl -E 'no autovivification q[strict]; my $h; say defined $h; my $a = $h->{a}; say defined $h;'
1
marketequalizer:~# perl -E 'no autovivification q[warn]; my $h; say defined $h; my $a = $h->{a}; say defined $h;'
1
marketequalizer:~# perl -E 'no autovivification; my $h; say defined $h; my $a = $h->{a}; say defined $h;'
marketequalizer:~# perl -V
Summary of my perl5 (revision 5 version 24 subversion 1) configuration:
Platform:
osname=linux, osvers=3.16.0, archname=i686-linux-gnu-thread-multi-64int
uname='linux localhost 3.16.0 #1 smp debian 3.16.0 i686 gnulinux '
I've seen the same behavior on Windows with Strawberry 5.18.