Skip to content

Instantly share code, notes, and snippets.

@hoelzro
Created July 28, 2014 12:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hoelzro/2c02a2b7810aca50b195 to your computer and use it in GitHub Desktop.
Save hoelzro/2c02a2b7810aca50b195 to your computer and use it in GitHub Desktop.
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