Skip to content

Instantly share code, notes, and snippets.

@perlpilot
Created November 13, 2012 16:54
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save perlpilot/4066950 to your computer and use it in GitHub Desktop.
use v6;
sub foo { say "foo" }
&foo.wrap(sub { say "bar" });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment