in reply to
Re: Private method variations
in thread Private method variations
Now if I could convince you to use My instead of MY, your scripts will be slightly easier to translate to Perl 6.
Actually, how about OUR:: instead of My:: - or is that somewhere in Perl 6 too?
- Keeps the upper case convention of SUPER and NEXT
- Still nice and short to type
- Still the same sort of English meaning (this method is ours and cannot be used by other classes)
- Functionality is closer to our than my in Perl. We're messing with the (apparent) scoping of a package variable, not a lexical.
Sound vaguely sane?