On Thu, Jan 08, 2009 at 06:11:22AM -0800, Richard Hainsworth wrote:
: # New Ticket Created by Richard Hainsworth
: # Please include the string: [perl #62070]
: # in the subject line of all future correspondence about this issue.
: # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=62070 >
:
:
: I have the following in a file test.pl
:
: macro doit ($word) {
: return quasi <say <<<$word>>> <<<$word>>> ;>
: };
Note there's a syntax error here: you can't feed two terms in a row
to "say". There needs to be a comma after the first quasi-unquote.
>From S06:
Hence, while the quasiquote itself is being parsed, the syntactic
interpolation of a unquoted expression into the quasiquote always
results in the expectation of an operator following the variable.
On the other hand, I doubt rakudo handles macros yet in any case.
Larry