how I can add an element to a hash using the push function in an intuitive way
One could push the key value pairs onto an array and then construct a hash from that array (but that's just wonky, even for homework).
In reply to Re^2: Filling a hash
by Fletch
in thread Filling a hash
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |