in reply to Re^2: Words and Numbers to hash
in thread Words and Numbers to hash
... the first value I am getting ...
You may be expecting the hash to preserve the order of the fields extracted from the string. It won't. The only 'order' in a hash is the key/value paring of each hash element. You must somehow impose your own order on top of this inherent order. Perhaps see Tie::IxHash.
|
|---|