On Sat, May 14, 2005 at 04:33:44AM +0000, Luke Palmer wrote: : On 5/14/05, Luke Palmer <[EMAIL PROTECTED]> wrote: : > On 5/14/05, Larry Wall <[EMAIL PROTECTED]> wrote: : > > At the moment $?SELF is the only canonical form, though the invocant : > > is also in $_ at least until it's rebound. Any other forms will : > > probably involve a pragma or macro, since there is no consensus on : > > a shortcut. : > : > Er, isn't that a mistake that we don't want to make again? Admittedly : > it's a fairly small one compared to the other OO mistakes in Perl 5, : > but it's in the same class. This is one of those TMTOWDTI, TNOWTDI[1] : > situations. Now, I don't really care if we make the obvious way : > o.foo, ^foo, \foo/, or whatever, but I think it's important that we : > pick one. If there's no short way to write it, people will start : > making them, and every time you pick up a new piece of code, you have : > to relearn how to say "I". : : [1] There's no obvious...
The obvious way to do it is to declare the invocant. Larry