# New Ticket Created by Zoffix Znet # Please include the string: [perl #131509] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=131509 >
I expected the .then'ed code to be in my dynamic scope so it'd see the variable I'm using, same as it's seen in a start block: <Zoffix__> m: my $*FOO = 42; sub bar (&code) { code }; bar { say $*FOO; await start { say $*FOO }.then: { say $*FOO // 'aint there' } } <camelia> rakudo-moar 3755c0: OUTPUT: «4242aint there»