Re: RFC for $ME class variable (was Re: RFC 124 (v1) Sort order for any hash)

2000-08-21 Thread Piers Cawley
Damian Conway [EMAIL PROTECTED] writes: Errr. I would imagine that $ME contains: * a reference to the object, within an object method * the name of the class, within a class method * a reference to the *subroutine* itself, within a non-method. Ooh, recursive anonymous

Re: RFC for $ME class variable (was Re: RFC 124 (v1) Sort order for any hash)

2000-08-20 Thread Graham Barr
On Sat, Aug 19, 2000 at 09:32:50AM -0700, Randal L. Schwartz wrote: "John" == John Siracusa [EMAIL PROTECTED] writes: John I don't like $ME either, but my alternative is probably even more John blasphemous: use $self. "It usurps a variable name that has been legal for John customer use in

Re: RFC for $ME class variable (was Re: RFC 124 (v1) Sort order for any hash)

2000-08-19 Thread Damian Conway
It's an idea that within a method call, the object reference would not be passed as the first argument (or maybe, not *just* as the first argument), but in a variable named $ME. I was pushing that envelope a little. Is this RFC'ed yet? It may have been mentioned