Assigning to a whole hash (%hash = LIST) clobbers the existing contents; what he's trying to do is append and/or overwrite new contents. Your code has now clobbered the rest of the contents of %bighash and it only has those two keys rather than replacing just the old pairs for the keys C and D.
We're looking for a Perl and Database Developer for Corporate Investments Group.
In reply to Re^2: Bulk hash population order
by Fletch
in thread Bulk hash population order
by JakeIII
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |