Re: Encapsulating the contents of container types

2011-08-18 Thread Ruud H.G. van Tol
On 2011-08-18 16:06, Carl Mäsak wrote: I was working on the Little Animal Farm game yesterday, and wanted to make it totally safe against tampering from the outside. (See .) I ended up implementing a custom accessor method and a su

[perl6/specs] 1baf5f: rebrand $/.before as .prematch and .after as .post...

2011-08-18 Thread noreply
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 1baf5fe1278d573443b2447496d8ee410c1883e7 https://github.com/perl6/specs/commit/1baf5fe1278d573443b2447496d8ee410c1883e7 Author: Moritz Lenz Date: 2011-08-18 (Thu, 18 Aug 2011) Changed paths: M S05-r

[perl6/specs] d1f6d8: spec $/.before and $/.after

2011-08-18 Thread noreply
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: d1f6d86c8e4da8f5b81f615b378ff919c065d8c7 https://github.com/perl6/specs/commit/d1f6d86c8e4da8f5b81f615b378ff919c065d8c7 Author: Moritz Lenz Date: 2011-08-18 (Thu, 18 Aug 2011) Changed paths: M S05-r

[perl6/specs] 9538e5: remove p5chop/p5chomp

2011-08-18 Thread noreply
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 9538e55c7dbcadf6002a2b68b8baaf094f8af78d https://github.com/perl6/specs/commit/9538e55c7dbcadf6002a2b68b8baaf094f8af78d Author: Carl Masak Date: 2011-08-18 (Thu, 18 Aug 2011) Changed paths: M S32-se

Encapsulating the contents of container types

2011-08-18 Thread Carl Mäsak
I was working on the Little Animal Farm game yesterday, and wanted to make it totally safe against tampering from the outside. (See .) I ended up implementing a custom accessor method and a sub to deep-clone hashes, just to make sure