Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Named @arrays args to MAIN can only take more than 1 option #5275

Open
p6rt opened this issue Apr 29, 2016 · 1 comment
Open

Named @arrays args to MAIN can only take more than 1 option #5275

p6rt opened this issue Apr 29, 2016 · 1 comment

Comments

@p6rt
Copy link

p6rt commented Apr 29, 2016

Migrated from rt.perl.org#128029 (status was 'new')

Searchable as RT128029$

@p6rt
Copy link
Author

p6rt commented Apr 29, 2016

From @zoffixznet

zoffix@​zoffix-VirtualBox​:~$ perl6 -e 'sub MAIN (​:@​args) { say @​args }' --args=one --args=two
[one two]
zoffix@​zoffix-VirtualBox​:~$ perl6 -e 'sub MAIN (​:@​args) { say @​args }' --args=one
Usage​:
  -e '...' [--args=<Positional>]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant