3 ms·
> "and is joined by the new < > variant for literal strings." ... why? What was wrong with {} or [] , as most other languages do? Sigh.
by discardorama 12y ago
> "and is joined by the new < > variant for literal strings."
... why? What was wrong with {} or [] , as most other languages do? Sigh.
- masak 12y agoThe postcircumfix {} is still there, and used. It just unambiguously takes an expression, and doesn't try to intuit string quotes in some cases. So you use {} for indexing with a general expression, and <> for string indexing.
- discardorama 12y agoI dunno, this sounds like syntactic bloat to me.
- elektronjunge 12y agoWelcome to perl