in reply to Death to Dot Deref
Since to acces a hash you would use % and not $, then the compiler can assume it is a reference. Personally I think that $foo->{$K} is better to the eye than $foo.{$k}, but I prefer $foo{$k} to anything.$foo.{$k}
Also, I do like the dot in this case:
I guess that is just because I come from a c/c++ background : )$obj = new SomeModule; $obj.DoSomething(); #as opposed to $obj->DoSomething();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Death to Dot Deref
by osorronophris (Novice) on May 19, 2001 at 00:27 UTC | |
|
Re^2: Death to Dot Deref
by tadman (Prior) on May 19, 2001 at 04:47 UTC |