Subject: | DOC: perl6 sample code fails due to double-quote interpolation |
Illustrious author!
Double quotes in picture lines cause perl6 to interpret the
{<<<<} picture as a code block and fail.
Single quotes below fix the issue.
print form
" =================================== ",
"| NAME | AGE | ID NUMBER |",
"|----------+------------+-----------|",
'| {<<<<<<} | {||||||||} | {>>>>>>>} |',
$name, $age, $ID,
"|===================================|",
"| COMMENTS |",
"|-----------------------------------|",
'| {[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[} |',
$comments,
" =================================== ";
kind regards,
Joel Roth