Actually, you would rather write this as :
%hash = (one => 1 , two => 2, three => 3, four => 4);since one of the nice point of "=>" is that it allows to use a bareword on it's left side without strict protesting about it (well it's obvious here that you want a string on this side so it's nice not having to be explicit about it in my opinion, => is a nice syntaxic sugared comma).
--In reply to Even better
by Jedaļ
in thread The strange ordering of hash values
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |