You might mis-understood method modifiers. I mean:
before x()
after x()
around x()
....

> Date: Sun, 20 Jun 2010 12:17:46 +0200
> From: mor...@faui2k3.org
> To: jianding...@msn.com
> CC: perl6-users@perl.org
> Subject: Re: Two questions on Perl 6 functionality
> 
> 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
                                          
_________________________________________________________________
Hotmail: Free, trusted and rich email service.
https://signup.live.com/signup.aspx?id=60969

Reply via email to