-
-
Save vendethiel/b83e27cacb8ea2b4c74d6d7dd447519b 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
macro f($name) { | |
quasi { | |
COMPILING::{ $name } = 10; # $name here doesn't make sense but w/e | |
my $f = "def"; | |
COMPILING::{ $f } = 20; # this = not ok? | |
} | |
} | |
f("$declare-me"); | |
say $declare-me; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment