| To: | perl6-language@perl.org |
|---|---|
| Subject: | Quick questions on classes re S12 |
| From: | "John M. Dlugosz" <dhcgnd702@sneakemail.com> |
| Date: | Sat, 09 Aug 2008 03:49:33 -0500 |
| Delivered-to: | mailing list perl6-all@perl.org |
| Delivered-to: | perl6-all-poster@perl.org |
| Delivered-to: | mailing list perl6-language@perl.org |
| Delivered-to: | perl6-language@perl.org |
| List-help: | <mailto:perl6-all-help@perl.org> |
| List-id: | <perl6-all.perl.org> |
| List-id: | <perl6-language.perl.org> |
| List-post: | <mailto:perl6-all@perl.org> |
| List-subscribe: | <mailto:perl6-all-subscribe@perl.org> |
| List-unsubscribe: | <mailto:perl6-all-unsubscribe@perl.org> |
| Mailing-list: | contact perl6-all-help@perl.org; run by ezmlm |
| User-agent: | Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.16) Gecko/20080708 Thunderbird/2.0.0.16 Mnenhy/0.7.5.666 |
1) How do you declare a private method? I see how you call one, but not how to
define one.
1b) Is the intent that $!foo without an explicit invocant refers to self, as opposed to $.bar or .bar which refers to $_ ? 2) re: has $brain; # also declares $!brain; Does that mean that $brain by itself refers to $self!brain ? --John |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Multiple Return Values - details fleshed out, John M. Dlugosz |
|---|---|
| Next by Date: | Re: [svn:perl6-synopsis] r14574 - doc/trunk/design/syn, Aristotle Pagaltzis |
| Previous by Thread: | Multiple Return Values - details fleshed out, John M. Dlugosz |
| Next by Thread: | Re: Quick questions on classes re S12, Jonathan Worthington |
| Indexes: | [Date] [Thread] [Top] [All Lists] |