Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  print  "1" + 1 ; # 2
This isn't new, is it? '+' is for addition, '.' is for concatenation.


In Perl 5, yes. In Perl 6, ~ is for concatenation, '.' is for methods.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: