I have tried this in my Perl 6 code (v6.c):

=begin DATA
blah
blah2
=end DATA

Then:

for $=DATA.lines -> $line {
  # process a line
}

but I get this message:

Pod variable @=DATA not yet implemented. Sorry.

Is there any workaround for this other than putting the data in an array?

Thanks.

Best regards,

-Tom

Reply via email to