Here learning my way around Raku (neé Perl 6), very nice all around. But I sorely miss the magic <>
from Perl 5, where you can just:
my $x = <>;
print $x;
while(<>) {
print join(':', split);
}
(read next input line into $x
, loop over the rest; input is from the files named as input or standard input if no file given). The "Perl 5 to 6" tutorials/migration guides/... just talk about slurp
ing the whole file, or open
ing individual files by name. No magic "take input from named files in sequence" I can find.
I want the magic back!