Created
June 21, 2019 21:46
-
-
Save treyharris/de46c7af3fb780838cac4b9ab69fb8d7 to your computer and use it in GitHub Desktop.
This one produces no output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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