Re: STD.pm parsing assignment of pointy blocks

2008-02-17 Thread Larry Wall
On Sun, Feb 17, 2008 at 10:42:34PM +0100, Jonathan Worthington wrote: > And while I'm rambling about this kinda stuff, I discovered this because I > was actually looking at cases where we pass blocks off to things like grep. > > my @b = @a.grep: { $_ > 42 }; > > I'm thinking that $_ is really a pa

STD.pm parsing assignment of pointy blocks

2008-02-17 Thread Jonathan Worthington
Hi, I believe that this is valid: my $thingy = -> $x { say $x }; However, looking through STD.pm the only time we parse for a pblock is in statement control. So either I'm missing something, or STD.pm is. :-) I tried using pblock in place of block in circumfix. I think this may work. Howeve