state and = vs :=

2014-10-02 Thread Father Chrysostomos
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

[perl6/specs] b89831: fix minor syntax error

2014-10-02 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: b89831bcc08db79b28a430a5a5f334a286ff735e https://github.com/perl6/specs/commit/b89831bcc08db79b28a430a5a5f334a286ff735e Author: L. Grondin grond...@yahoo.fr Date: 2014-10-01 (Wed, 01 Oct 2014) Changed

[perl6/specs] 66edfb: adding missing =over

2014-10-02 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 66edfbe68aef73cf34482e8f8a7508f51c3de087 https://github.com/perl6/specs/commit/66edfbe68aef73cf34482e8f8a7508f51c3de087 Author: L. Grondin grond...@yahoo.fr Date: 2014-10-01 (Wed, 01 Oct 2014) Changed

[perl6/specs] aadf05: Make anonymous variables silent in all contexts

2014-10-02 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: aadf0589905c9d76488fd81f738201d12f6d9eeb https://github.com/perl6/specs/commit/aadf0589905c9d76488fd81f738201d12f6d9eeb Author: Elizabeth Mattijsen l...@dijkmat.nl Date: 2014-10-01 (Wed, 01 Oct 2014)

Re: state and = vs :=

2014-10-02 Thread Elizabeth Mattijsen
On 01 Oct 2014, at 07:48, Father Chrysostomos spr...@cpan.org wrote: 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

Re: state and = vs :=

2014-10-02 Thread Jonathan Worthington
On 10/2/2014 16:03, Elizabeth Mattijsen wrote: On 01 Oct 2014, at 07:48, Father Chrysostomos spr...@cpan.org wrote: 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