On Thursday, August 1, 2002, at 04:05  PM, Mark J. Reed wrote:

> Having the subscript operator change the topic is, IMHO, a rather strong
> violation of the principle of least surprise.

I'm inclined to agree. I think I'd much rather not have it change there, 
since I'll frequently do stuff like this:

my %hash;
for qw(one two three) {
     %hash{$_} = 1; # $_ should *not* == %hash here!
}

Regards,

David

--
David Wheeler                                     AIM: dwTheory
[EMAIL PROTECTED]                                 ICQ: 15726394
http://david.wheeler.net/                      Yahoo!: dew7e
                                                Jabber: [EMAIL PROTECTED]

Reply via email to