All of these methods assumes the values are unique.
You might want to add an if exists check in case the values are not unique, and perhaps add the duplicate values to an anonymous inner array (see HASHES OF ARRAYS).
Software speaks in tongues of man.
Stop saying 'script'. Stop saying 'line-noise'.
We have nothing to lose but our metaphors.
In reply to Re^2: Question about fast switch hash key-value pairs.
by Erez
in thread Question about fast switch hash key-value pairs.
by lihao
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |