in reply to Interesting unary - oddity
One reason for this is to allow for hyphen-prefixed hash keys. $hash{-key} has a key called "-key", not the negative of "key".
On the other hand, $hash{+key} is seen as an expression.
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Interesting unary - oddity
by RMGir (Prior) on Aug 27, 2004 at 16:21 UTC | |
by sgifford (Prior) on Aug 27, 2004 at 18:01 UTC |