Re: RFC for $ME class variable (was Re: RFC 124 (v1) Sort order for any hash)
[email protected] ((Randal L. Schwartz))
| Newsgroups | perl.perl6.language.objects |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "Damian" == Damian Conway <[email protected]> writes: Damian> Don't give alternatives. Give a "these alternatives were considered and Damian> *rejected*" list. $ME is capitalized (like all "magic" vars), and short. I actually don't like the literal $ME. It usurps a variable name that has been legal for customer use in prior Perls. Why not use something more "system-belonging" like %_ or even $_? In fact, "self" in $_ and "args" in @_ has a nice symmetry. Or we make $_->{self} be self, and maybe $_->{context} be the calling context, etc etc? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[email protected]> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!