Skip to content

Instantly share code, notes, and snippets.

@treyharris
Created June 21, 2019 21:46
Show Gist options
  • Save treyharris/de46c7af3fb780838cac4b9ab69fb8d7 to your computer and use it in GitHub Desktop.
Save treyharris/de46c7af3fb780838cac4b9ab69fb8d7 to your computer and use it in GitHub Desktop.
This one produces no output
#!/usr/bin/env perl6
unit package My-Fourth-Modules-Script;
our proto MAIN($) is export { * }
multi MAIN($x) {
say "This is the inside MAIN called with $x";
}
# No output:
# $ ./My-Fourth-Modules-Script.pm6
# $ ./My-Fourth-Modules-Script.pm6 242
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment