Skip to content

Instantly share code, notes, and snippets.

@tony-o

tony-o/A.rakumod Secret

Created May 11, 2021 16:46
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 tony-o/34d0aa032a68a597fffdc4149d2d47d2 to your computer and use it in GitHub Desktop.
Save tony-o/34d0aa032a68a597fffdc4149d2d47d2 to your computer and use it in GitHub Desktop.
unit module A;
sub call-ba is export {
require B;
B::EXPORT::DEFAULT::a.say;
}
sub fortytwo is export {
42;
}
unit module B;
sub a is export {
require A;
A::EXPORT::DEFAULT::fortytwo;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment