Re: Quick questions on classes re S12

2008-08-09 Thread Jonathan Worthington
Hi, Answers as I understand things... John M. Dlugosz wrote: 1) How do you declare a private method? I see how you call one, but not how to define one. my method foo { ... } 1b) Is the intent that $!foo without an explicit invocant refers to self, as opposed to $.bar or .bar which refers to

Quick questions on classes re S12

2008-08-09 Thread John M. Dlugosz
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