> > The value. If you wanted to increment the key, you would say > > "$hash{$key++}". > > Wait a sec, brain cramp.... > Wouldn't that: > 1) just access $hash{$key} > 2) increment $key > 3) add $hash{$key + 1} > I realize this is getting away from the original post, but I'm confused by #3 here. Wouldn't it just do 1 and 2? Would it actually access the hash twice?
- $hash{$_}++ David Gilden
- Re: $hash{$_}++ Martin van-Eerde
- Re: $hash{$_}++ Paul
- Re: $hash{$_}++ Brett W. McCoy
- Re: $hash{$_}++ Peter Scott
- Re: $hash{$_}++ Brett W. McCoy
- Re: $hash{$_}++ David Gilden
- Re: $hash{$_}++ Chas Owens
- Re: $hash{$_}++ Dave Cross
- RE: $hash{$_}++ Peter Cornelius
- RE: $hash{$_}++ Chas Owens
- Re: $hash{$_}++ Me
- RE: $hash{$_}++ Brett W. McCoy
- Re: $hash{$_}++ Randal L. Schwartz