Hi,

Xi Yang wrote:
> 1: Does Perl 6 has method modifiers like those in Moose? 

Perl 6 has traits, so you can write for example

class A {
   method x() is rw { ...}
}

to indicate that it's an lvalue routine (though I don't think it's
implemented in Rakudo yet).

> Where can I get the doc about that? By reading apocalypse?

The Apocalypses are of historical interest only. Please read the
Synopsis instead

http://perlcabal.org/syn/
http://perlcabal.org/syn/S06.html
http://perlcabal.org/syn/S12.html


> 2: Does Perl 6 has build-in support for message passing (like those in Glib 
> and Actionscript)?                                          

I fear I'm not qualified to answer that, and I hope somebody else picks
up the topic.

Cheers,
Moritz

Reply via email to