On Thu, Jul 23, 2009 at 05:56:31PM +0200, TSa wrote: > Hmm, it seems to be the case that the binding is defined to be a > readonly binding to the variable. I consider this a bad thing. > We should have my $x = 1; foo($x++,$x,$x++); to call foo(1,2,2) > and not foo(1,3,2) or even foo(2,3,1). The capture creation for > the foo call should be strictly left to right and capturing the > value at that moment.
...except that captures don't capture values -- they form references. Pm