Stuart Cook writes:
> On 8/19/06, Larry Wall <[EMAIL PROTECTED]> wrote:
> >    if 0 {
> >    ...
> >    }
> 
> The one disadvantage of that approach is that it will break if the
> "commented-out" code temporarily fails to compile.  If that's a
> problem, though, you could always write your own macro.

You don't actually need a macro in that case:

    if 0 { q<
        ...
    > }

And if you have unbalanced quote-delimiting brackets in the "...", you can
switch to different bracketing characters (including arbitrary Ps/Pe or
bidi-mirroring Unicode pairs), or simply add more brackets:

    if 0 { q<<<<
        ... # >>> with unmatched pointies
    >>>> }

-- 
Aaron Crane

Reply via email to