This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Overhaul the semantics of the warning
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 19 Jul 2005 09:45:24 +0000 (09:45 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 19 Jul 2005 09:45:24 +0000 (09:45 +0000)
commitf2f96cd564e6a3029bcc2182ffccc4f92f518fb6
treecaf8b5abe1c7c84a02606d32a190802119b0f3c5
parent0f1f2428e1f9e9aa05108acb4c8ec2a0a83d728e
Overhaul the semantics of the warning
""%s" variable %s masks earlier declaration",
based on a patch by Rick Delaney. Now we have :
    my $x;   my $x; # warns
    my $x;  our $x; # warns
    our $x;  my $x; # warns
    our $x; our $x; # silent

p4raw-id: //depot/perl@25179
pad.c
t/lib/warnings/pad