Yes, it will work. A hash in list context evaluates to a list of key/value pairs (in an arbitrary order), and initializing a hash from a list of key/value pairs will overwrite earlier instances of duplicate keys with the last one seen.
We're looking for a Perl and Database Developer for Corporate Investments Group.
In reply to Re: Bulk hash population order
by Fletch
in thread Bulk hash population order
by JakeIII
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |