Does ‘state’ govern ‘:=’ the way it governs ‘=’? In other words, just as this:
state $x = 1;
only assigns to $x once (per closure), does the same apply to this?
state $x := $y;
I can’t find anything in the specs that implies that it does.
The reason I ask is that I am currently
On Sat Jul 07 18:35:03 2012, tom christiansen wrote:
Father Chrysostomos via RT perlbug-comm...@perl.org wrote
on Sat, 07 Jul 2012 17:44:46 PDT:
I’m forwarding this to the Perl 6 language list, so see if I can
find
an answer there.
I do have an answer from Damian, which I
bar { say @a };
@a := [4,5,6];
bar();
}
--
Father Chrysostomos
On Sat Jul 07 22:23:16 2012, thoughtstream wrote:
Father Chrysostomos asked:
What I am really trying to find out is when the subroutine is actually
cloned,
Yes. It is supposed to be (or at least must *appear* to be),
and currently is (or appears to be) in Rakudo.
I said when