Awesome Cross the Finish Line Rakudo Perl 6 Grant

2008-05-26 Thread Conrad Schneiker
This is the new addition near top of Perl 6 wiki to thank Ian Hague (and to help counter public skepticism about the prospects of Perl 6): Awesome Cross the Finish Line grant for Rakudo Perl 6 Thank you Ian Hague! * See TPF receives large donation in support of Perl 6 developmentlink.

Re: assignable mutators (S06/Lvalue subroutines)

2008-05-26 Thread TSa
HaloO, John M. Dlugosz wrote: I have similar thoughts. I'm thinking that some macros will aid in writing proper setters via a tie-like mechanism that don't require any core language changes, so it's not a real problem. That is, a reusable proxy class that you can construct to run the setter

Re: assignable mutators (S06/Lvalue subroutines)

2008-05-26 Thread Brandon S. Allbery KF8NH
On 2008 May 26, at 10:19, TSa wrote: John M. Dlugosz wrote: I have similar thoughts. I'm thinking that some macros will aid in writing proper setters via a tie-like mechanism that don't require any core language changes, so it's not a real problem. That is, a reusable proxy class that

Re: assignable mutators (S06/Lvalue subroutines)

2008-05-26 Thread TSa
HaloO, I wrote: I wonder if that couldn't simply be method attr is rw { return self.blahh; } Or am I missing something? Hmm, I forget something along the lines of method attr ($rhs) { if $rhs 10 { return self.blahh } else { return

Re: assignable mutators (S06/Lvalue subroutines)

2008-05-26 Thread TSa
HaloO, Brandon S. Allbery KF8NH wrote: What if you want to store a modification of the value? e.g. compatibility method to set a length in inches when the stored length is in millimeters. As outlined in my afterthought: class Length { has Num $.mm is rw = 0; method inch