What I expect is, the hash won't print duplicate value. ( b is a duplicate ).Hashes do not have duplicate keys; hash values may be any scalar, duplicated or not.
Also I believe, the hash will print the value in the same order (not random and not sort by default).The 'order' of keys or values in a hash varies from run to run of a Perl script. See the section on Algorithmic Complexity Attacks in perlsec. Also see the discussion on apparent order in the docs for keys, values and each (the paragraph is the same in each case).
In reply to Re: Hash value
by AnomalousMonk
in thread Hash value
by irah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |