[Oc-pm] spaces in perl6
Bob Mathews
bobmath11 at icloud.com
Tue Oct 31 10:05:46 PDT 2017
It seems that space-before-paren is still significant in Perl6. The first two statements print a 1 immediately followed by a 2...
> say 1, 2
12
> say(1,2)
12
> say (1,2)
(1 2)
...and the third prints a tuple containing one and two.
-bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/oc-pm/attachments/20171031/2723a4dc/attachment.html>
More information about the Oc-pm
mailing list