On 7/11/05, Ingo Blechschmidt <[EMAIL PROTECTED]> wrote:
> Hi,
>
> my $x = 42;
> my $y = $x;
> $y++;
> say $x; # Still 42, of course
>
>
> class Foo {
> has $.data;
> method incr () { $.data++ }
>
> # Please fill in appropriate magic here
> }I think it's just `class Foo is value`. It's probably wrong to do it by overloading &infix:<=> like Perl 5 did. Luke
