Skip to content

Instantly share code, notes, and snippets.

@felher
Created November 4, 2012 21:06
  • 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 felher/7064d9fc21e5b1df6a1a to your computer and use it in GitHub Desktop.
make-stubs
macro make-stubs(...) { ... }
make-stubs(<sub1 sub2 sub3 sub4>);
say "hi";
sub1(); # this executes the stub-sub that make-stubs made
say "hi again";
sub2(); # also a stub-sub made by the make-stubs call
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment