Skip to content

Instantly share code, notes, and snippets.

@softmoth
Created December 4, 2017 07:47
Show Gist options
  • Save softmoth/87fc3788745c77b0ccdc1c25d2559597 to your computer and use it in GitHub Desktop.
Save softmoth/87fc3788745c77b0ccdc1c25d2559597 to your computer and use it in GitHub Desktop.
sub MAIN() {
::('X::Y::Z').wut();
}
unit class X::Y::Z;
method wut() { hi() }
sub hi() is export { say "hi" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment