in reply to Re: Perl 6, arrays, hashes, subroutines & basic file IO
in thread Perl 6, arrays, hashes, subroutines & basic file IO
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; }
|
|---|