in reply to Rakudo * DATA filehandle syntax
Even if it did, reading from a file handle has a different syntax now, you'd write
for $=DATA.lines { ... }
Since "Learning Perl 6" seems out of date, I can only point you to the latest download of Using Perl 6. Different target audience, and also a work in progress, but we do try to track spec changes when they occur :-)
|
|---|