-
-
Save zoffixznet/beeafcd0f831e3e4d234382a894fc400 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use nqp; | |
my $z = 42; | |
my $bxx := -> $v { | |
$_ := $v; | |
.say; | |
say $z; | |
}; | |
{ | |
my $z = 100; | |
my $b2 := nqp::p6capturelex($bxx.clone); | |
$b2(4); | |
} | |
$bxx(1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment