Raku / old-issue-tracker

Tickets from RT
https://github.com/Raku/old-issue-tracker/issues
2 stars 1 forks source link

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

Open p6rt opened 8 years ago

p6rt commented 8 years ago

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

Searchable as RT128029$

p6rt commented 8 years ago

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=\]