Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sp332
on Oct 7, 2015
|
parent
|
context
|
favorite
| on:
Differences Between Perl 5 and Perl 6
print "1" + 1 ; # 2
This isn't new, is it? '+' is for addition, '.' is for concatenation.
kbenson
on Oct 7, 2015
[–]
In Perl 5, yes. In Perl 6, ~ is for concatenation, '.' is for methods.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: