The list will certainly change for Perl 6, insofar as it will be an empty list. If you want to default a function call to $_ you use the "unary dot" form:
for 1..10 { .say }
Of course, pattern matching and topicalizers still implicitly deal with $_, but you no longer have to memorize a long list of functions, nor worry about the difference between
rand > 0.5 # means rand($_) > 0.5
rand < 0.5 # parse error looking for fileglob
since in Perl 6 that is unambiguously
.rand < 0.5 # always means rand($_) < 0.5
You don't have to memorize which symbols are true globals either. As for Perl 5's magical use of $a and $b, the less said the better... :-) |