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

CODE {...} mentioning variables without interpolation

2006-02-17 Thread Brad Bowman
Hi again, LS06/Macros Is it possible to refer to a variable in a CODE quotation without splicing it in as an AST or string? I can't see how this is be possible under S06, unless using OUTER:: is intended to be a non-splicing variable mention. The sample snippet in S06 seems simple but got

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

2006-02-17 Thread Larry Wall
On Sat, Feb 18, 2006 at 01:57:18AM +0200, Brad Bowman wrote: : Hi again, : : LS06/Macros : : Is it possible to refer to a variable in a CODE quotation without : splicing it in as an AST or string? I can't see how this is : be possible under S06, unless using OUTER:: is intended to be : a