Re: Selective String Interpolation

2006-02-18 Thread Jonathan Lang
Brad Bowman wrote: > Jonathan Lang wrote: > > Let me see if I understand this correctly: Instead of interpolation > > being enabled by default with backwhacks selectively disabling it, you > > want something where interpolation is disabled by default with > > "anti-backwhacks" selectively enabling

Re: CODE {...} mentioning variables without interpolation

2006-02-18 Thread Brad Bowman
On 18/02/06 03:10, Larry Wall wrote: On Sat, Feb 18, 2006 at 01:57:18AM +0200, Brad Bowman wrote: : $a is spliced into the say as either a string or AST, not : as a runtime use of $a. If the snippet was: : : $a = '$a'; : return CODE { say $a }; : : Then we'd (eventually) get a non-splicing me

Re: Selective String Interpolation

2006-02-18 Thread Brad Bowman
On 18/02/06 12:23, Jonathan Lang wrote: Piers Cawley wrote: And backwhacking braces in generated code is *not* a pretty solution to my eyes. I'd *like* to be able to have a quasiquoting environment along the lines of lisp's backquote (though I'm not sure about the unquoting syntax): Let me s

Re: Selective String Interpolation

2006-02-18 Thread Brad Bowman
On 18/02/06 07:49, Damian Conway wrote: There is already a mechanism for this. You simply turn off all variable interpolation, and interpolate any the variables you wish to interpolate via block interpolations. Or, more simply, only turn on block interpolation in a non-interpolating string:

Re: Selective String Interpolation

2006-02-18 Thread Jonathan Lang
Piers Cawley wrote: > And backwhacking braces in generated code is *not* a pretty solution > to my eyes. I'd *like* to be able to have a quasiquoting environment > along the lines of lisp's backquote (though I'm not sure about the > unquoting syntax): Let me see if I understand this correctly: Ins

Re: Selective String Interpolation

2006-02-18 Thread Piers Cawley
Damian Conway <[EMAIL PROTECTED]> writes: > Brad Bowman asked: > >> When building code strings in Perl 5 I usually write the code, >> then wrap it in double quotes, then "\" escape everything light blue >> under syntax highlighting. I was wondering if there'll a better >> way in Perl 6. I thought

This weeks summary, part 2

2006-02-18 Thread The Perl 6 Summarizer
The Perl 6 summary for the week ending 2006-02-12 Did I say Thursday night? What was I thinking? Blame Nikon for finally delivering my D200; or just blame me for being a lazy git who spent Thursday night recovering from the drive home from Liverpool and Friday playing with a new toy