Re: Testing Perl 6 analog to Perl 5's tie.

2009-08-08 Thread Jonathan Worthington
Aaron Sherman wrote: On Sun, Aug 2, 2009 at 1:10 PM, Moritz Lenz wrote: Let's pick up this old mail before it gets completely warnocked ;-) For the record, this discussion only applies to scalar implementation types. For example for Arrays I expect things to work by overriding the method p

Re: Testing Perl 6 analog to Perl 5's tie.

2009-08-04 Thread Aaron Sherman
On Sun, Aug 2, 2009 at 1:10 PM, Moritz Lenz wrote: > Let's pick up this old mail before it gets completely warnocked ;-) > > For the record, this discussion only applies to scalar implementation > types. For example for Arrays I expect things to work by overriding the > method postcircumfix:<[ ]>

Re: Testing Perl 6 analog to Perl 5's tie.

2009-08-02 Thread Brandon S. Allbery KF8NH
On Aug 2, 2009, at 13:10 , Moritz Lenz wrote: Kyle Hasselbacher wrote: My patchwork readings lead me to believe I could test Perl 6's tie-like feature with something like the below code, which I don't expect to even compile, what with '???' in places. My question is: am I on the right track? O

Re: Testing Perl 6 analog to Perl 5's tie.

2009-08-02 Thread Moritz Lenz
Let's pick up this old mail before it gets completely warnocked ;-) For the record, this discussion only applies to scalar implementation types. For example for Arrays I expect things to work by overriding the method postcircumfix:<[ ]>. Also I'm far from being an expert on this field, so feel fr

Testing Perl 6 analog to Perl 5's tie.

2009-07-07 Thread Kyle Hasselbacher
My patchwork readings lead me to believe I could test Perl 6's tie-like feature with something like the below code, which I don't expect to even compile, what with '???' in places. My question is: am I on the right track? Obviously there are details I haven't nailed down, and any guidance would b