Created
June 29, 2017 14:39
-
-
Save zoffixznet/187333dde7f02a348208724cab37e513 to your computer and use it in GitHub Desktop.
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
$ perl6 -e 'my $*MAIN-ALLOW-NAMED-ANYWHERE = 0; sub MAIN ($a, $b, :$foo, :$bar) { say "in" }' 1 --foo 2 --bar | |
Usage: | |
-e '...' [--foo=<Any>] [--bar=<Any>] <a> <b> | |
$ perl6 -e 'my $*MAIN-ALLOW-NAMED-ANYWHERE = 1; sub MAIN ($a, $b, :$foo, :$bar) { say "in" }' 1 --foo 2 --bar | |
in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment