# New Ticket Created by  Lloyd Fournier 
# Please include the string:  [perl #127540]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=127540 >


sub foo { };
my $a = anon sub foo { }

===SORRY!=== Error while compiling -e
Redeclaration of routine foo
at -e:1

Since anon is not going to install the symbol in any scope this is a false
positive. Will fix if I get a chance.

Reply via email to