in reply to Rakudo * DATA filehandle syntax

Rakudo doesn't support DATA sections yet.

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 :-)

Perl 6 - links to (nearly) everything that is Perl 6.