Skip to content

Instantly share code, notes, and snippets.

@colomon
Created August 16, 2012 15:47
Show Gist options
  • Save colomon/3371209 to your computer and use it in GitHub Desktop.
Save colomon/3371209 to your computer and use it in GitHub Desktop.
use MONKEY_TYPING;
augment class Mu {
method tap(&block) {
&block(self);
self;
}
}
10.tap({ say $_ + 1 }).say;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment