On Tue, 2005-04-26 at 09:37 -0600, Luke Palmer wrote: > We're thinking at the moment that `while` will probably look like this: > > sub statement:<while> (&cond is lazy, &block) { [...]
Just curious, why a sub and not a macro? > That does pose a problem with: > > given $foo { > until $_.leaf { > ^process; # uh oh, means $foo.leaf.process > $_ = ^next; > } > } Ok, I'm lost. What's a unary "^"? In S03, I see "$^<identifier>", "^^", "^..", "..^", and "^..^", but no "^<identifier>". Best I can figure is that's a "placeholder sub"? So you're expecting a named parameter of type Code called "process"? No, that can't be right, can it?