Damian Conway wrote:
>
> 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? If not, I'll do it, but not until I get back from
Seattle next Wed.
I think that $ME should NOT be passed in @_ at all. It's a PITA right
now to deal with (function vs. object forms, trying to support both).
$ME should simply be the name of the class it's called as a member of,
falling back to the name of the package if one isn't defined (as in a
function-oriented style). The significant contortions CGI.pm has to go
through to accomplish this are unnecessary. I believe this is the
general consensus, but I'm just clarifying.
Feel free to reply-to-all with feedback, but be advised I'm stopping
reading email in about 10 minutes for 4 days (so don't get offended if I
don't reply immediately). :-)
-Nate
P.S. Alternatives to $ME are welcomed, but please email these JUST to
me. Naming always seems to generate tons of messages. I'll just list the
alternatives under "alternative names" at the bottom of the RFC. Thanks.