Nope, you only get one value for a key. The last value assigned to that key is the one that wins ("us" in this example). To get multiple values, you'll need a Hash-of-Arrays, but before you can do that, you'll need to understand references. Read perlreftut, perlref, and perldsc.
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
In reply to Re: Multiple Values for a Key
by hardburn
in thread Multiple Values for a Key
by prasadbabu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |