# New Ticket Created by Zoffix Znet # Please include the string: [perl #131307] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=131307 >
https://irclog.perlgeek.de/perl6-dev/2017-05-13#i_14576917 16:35 Zoffix m: my $x = 72; { sub foo { say $x }; foo ; my $x = 42; say $x } 16:35 camelia rakudo-moar 83b7ac: OUTPUT: «(Any)42» 16:37 TimToady should probably get the "already bound to outer symbol" warning 16:37 m: my $x = 72; { say $x; my $x = 42; say $x } 16:37 camelia rakudo-moar 83b7ac: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>Lexical symbol '$x' is already bound to an outer symbol;the implicit outer binding must be rewritten as OUTER::<$x>before you can unambiguously declare a new '$x' in this scopeat <tmp>:1------>…» 16:38 TimToady like that one