Raku (programming language): Difference between revisions

Content deleted Content added
SmackBot (talk | contribs)
m Date/fix the maintenance tags or gen fixes
Syntactic simplification: rewording parenthesisless array construction change -- '@array = 1, 2, 3, 4;' is also legal perl5.
Line 155:
(significant whitespace).
 
Also, the <code>,</code> (comma) operator is now a list constructor, so enclosing parentheses are no longer required around lists,. makingThe thiscode legal code:
 
@array = 1, 2, 3, 4;
 
now makes @array an array with exactly the elements '1', '2', '3', and '4'.
 
=== Chained comparisons ===