Re: RFC: new logical operator more syntactic maple syrup

2002-02-22 Thread Aaron Sherman
On Thu, 2002-02-21 at 19:49, Larry Wall wrote: David M. Lloyd writes: : On Thu, 21 Feb 2002, Sam Vilain wrote: : : I can't count the number of times I've had to do something like: : :if (defined $foo and $foo ne bar) { } : : to avoid my program writing garbage to STDERR. : :

Re: RFC: new logical operator more syntactic maple syrup

2002-02-22 Thread Larry Wall
Aaron Sherman writes: : On Thu, 2002-02-21 at 19:49, Larry Wall wrote: : David M. Lloyd writes: : : On Thu, 21 Feb 2002, Sam Vilain wrote: : : : : I can't count the number of times I've had to do something like: : : : :if (defined $foo and $foo ne bar) { } : : : : to avoid my

Pondering topicalizers and defaulting constructs

2002-02-22 Thread Allison Randal
Of course, this idea may have already been considered and rejected, in which case I'm just curious to learn the reasons. What would be the cost (performance, design or dwim) of making all the defaulting constructs pay attention to the current topicalizer in preference to $_? Cwhen is