Created
July 28, 2014 12:00
-
-
Save hoelzro/2c02a2b7810aca50b195 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 v6; | |
sub proclaim($cond) { | |
unless $cond { # for some reason, commenting this out fixes things? | |
my $caller = callframe(2); | |
say $caller.annotations.keys; | |
say($caller.file); | |
} | |
} | |
for (1 .. 20) { | |
.say; | |
proclaim(0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment