Front page | perl.perl6.users |
Postings from September 2018
September 30, 2018 11:04
Message ID: email@example.com
method join(List:D: $separator --> Str:D)
$ p6 'say (1, <a b c>).join("|");'
1|a b c
It states in the manual that this will happen.
2) where in the method definition does it state
this will happen?
3) why does this work?
$ p6 'join( "|", <1 2 3>).say;'