print; to print $_ is now spelled .print; notice the dot.
And also, with reference to the point you're actually referring to, for is now good for looping over a handle too, thanks to lazy evaluation, thus:
# LOOP OVER STDIN for =<> { .print; }
In reply to Re^2: Perl 6, arrays, hashes, subroutines & basic file IO
by blazar
in thread Perl 6, arrays, hashes, subroutines & basic file IO
by tomazos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |