|
|
|
|
|
by masak
2492 days ago
|
|
Yes. Somewhat simplified, hyphens inside of identifiers are allowed and not taken to mean infix minus. I remember when this was switched on. Larry Wall tried it out on the entire spectest suite, and nothing broke (or at most one random thing broke), because basically people already put whitespace around their infix operators. Incidentally, apostrophes are also allowed inside Perl 6 identifiers. Personally, I used to conservatively use underscore (`_`) in my Perl 6 identifiers for some years. Then I got used to hyphens, and it's hard to go back. |
|