On 8/19/06, Aaron Crane <[EMAIL PROTECTED]> wrote:
You don't actually need a macro in that case:

    if 0 { q<
        ...
    > }

Which, of course, eliminates the original desire to have a
code-commenting construct where "you just change the 0 to a 1".  After
all, we already have #{}.  Incidentally, you could consider that the
desired construct, because it balances, and a closure at statement
level executes itself:

#{
   if $baz {
       $foo.bar
   }
}

To uncomment, remove the # before the {.

Luke

Reply via email to