Re: our methods?

2008-04-02 Thread Audrey Tang
John M. Dlugosz 提到: In S29, there are definitions like our Capture method shape (@array: ) is export But in S12 there is no mention as to what an our method is. It states that my is used to make private methods, and ^ to make class methods. I think this is a doc relic and should be fixed

Re: our methods?

2008-04-02 Thread John M. Dlugosz
I understand. Thank you. This ought to be mentioned in S12. Perhaps after the treatment on my, explain that our is the default, but saying it explicitly allows the return type to be first. --John Audrey Tang audreyt-at-audreyt.org |Perl 6| wrote: John M. Dlugosz 提到: In S29, there are

our methods?

2008-04-01 Thread John M. Dlugosz
In S29, there are definitions like our Capture method shape (@array: ) is export But in S12 there is no mention as to what an our method is. It states that my is used to make private methods, and ^ to make class methods. I think this is a doc relic and should be fixed globally in that