in reply to Re^2: Use of the => operator
in thread Use of the => operator
That comes from the high precedence of '+' over '=>'.
If stringification came first there would be no error; you'd wind up with the string '3+5' as a key, which is perfectly all right. Fat comma stringifies like qw, breaking on whitespace.
$ perl -e'%foo = ("3+5", "something");print keys(%foo),$/' 3+5 $
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Use of the => operator
by traveler (Parson) on Aug 09, 2004 at 22:02 UTC |