Re:Larry Wall has approved renaming Perl 6 to Raku
by b2gills on Wednesday October 16, 2019 @03:08AM
(#21267836)
Note that:
Would be written as the following in Raku:
[ Parent
| on HN ]
Re:Larry Wall has approved renaming Perl 6 to Raku
by lizmat on Monday October 21, 2019 @09:28AM
(#21311986)
Actually, since the Perl 5 example doesn't chomp (remove newlines), the Raku version would need to be:
my @output-array = lines(:!chomp).unique;
where the `:!chomp` is a named parameter representing a `False` value for the named parameter `chomp`. AKA, `chomp => False`.