This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
(perl #126162) improve stat @array handling
authorTony Cook <tony@develop-help.com>
Thu, 31 Mar 2016 00:18:53 +0000 (11:18 +1100)
committerRicardo Signes <rjbs@cpan.org>
Thu, 7 Apr 2016 11:45:09 +0000 (07:45 -0400)
commit637494ac7ab11f737c47bf95a2c3a27ef1117984
treed1e6c9fc61a2d92ec7658173d64c3bc10c37b2bf
parentedc12fc2e5a216570d2b0ec0b1e83a00822120b5
(perl #126162) improve stat @array handling

- warn on lexical arrays too

- limit the warning to under C<use warnings 'syntax';>

- test the warnings

- include the (correct) variable name where possible
op.c
pod/perldiag.pod
t/lib/warnings/op