[perl #127540] redeclaration error when using anon

2016-07-21 Thread jn...@jnthn.net via RT
On Sat Feb 13 20:08:16 2016, lloyd.fo...@gmail.com wrote: > 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 cha

[perl #127540] redeclaration error when using anon

2016-02-13 Thread via RT
# New Ticket Created by Lloyd Fournier # Please include the string: [perl #127540] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=127540 > sub foo { }; my $a = anon sub foo { } ===SORRY!=== Error while compiling -e Redeclarat