into the first word and the rest of the line. I want to use the first word as the key. Is there a shortcut to creating the new hash record other than saying $hash{$1}=$2;? Something along the lines ofakey some data bkey some more data
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |