Perl 6 is so into “there is more than one way to do it“, that with the new release Perl 6 now has two names: Perl 6 and Raku. You can use Raku if you find Perl 6 to be too of a confusing name.

seen from United Kingdom

seen from United Kingdom
seen from Germany

seen from T1

seen from United States
seen from Türkiye
seen from China
seen from United Kingdom

seen from Italy
seen from New Zealand
seen from United States

seen from Hungary
seen from Malaysia
seen from United States
seen from Türkiye

seen from Australia
seen from United States

seen from Germany
seen from Yemen
seen from China
Perl 6 is so into “there is more than one way to do it“, that with the new release Perl 6 now has two names: Perl 6 and Raku. You can use Raku if you find Perl 6 to be too of a confusing name.
confession time: i usually don’t actually choose the questions when i send someone askmeme questions
i just open up my perl 6 interpreter and do something like this
> (1..50).pick(5).sort; (14 25 27 35 37)
perl 6 is nice, you guys
From this Perl 6 presentation:
Whatever Code
Each WhateverStar represents the next positional argument. You can't use WhateverStar to refer to the same argument more than once:
say ( * + * + * )(2, 3, 4); # OUTPUT: # 9
(No, this is not an April Fool’s joke.)
My first question (of many, many questions): how do I multiply!? And if anybody says ( * * * * * )(2, 3, 4) will “just do what you’d expect”, I’ll... stare at them incredulously. And continue to use Python.
fun fact, perl six has a way to solve that problem i just posted about!
specifically it has a but operator which works like this:
my $x = 0 but True; if $x { // this code block will be run } if ($x + 0) { // this block won't be }
so the "run system command" subs return a 0 but True on command success, or a 1 but False on failure!
pretty neat
And in the backslashed form, [the reduction metaoperator] needs something with a vertical feel on the left representing the "left margin," or we lose much of the triangular feeling, so square brackets work nicely together with backslash that way. It all adds up to an almost overwhelming feeling of necessity -- which is why the language designer must also guard against adding up too many apples and then comparing them to orangutans.
TimToady a.k.a. Larry Wall, or was it vice versa?
Yes, we really will [have Perl 6.] We have a complete parser now, written in Perl 6, that parses itself, and can spit out an AST. All that remains is to come up with a VM with sufficent support for lazy functional OO semantics, and write an emitter for it. Simple!
TimToady a.k.a. Larry Wall, or was it vice versa? (With links inserted by me.)