kwolters has asked for the wisdom of the Perl Monks concerning the following question:
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: hashes
by japhy (Canon) on May 25, 2001 at 23:47 UTC | |
|
Re: hashes
by AidanLee (Chaplain) on May 26, 2001 at 00:01 UTC | |
by Albannach (Monsignor) on May 26, 2001 at 00:14 UTC | |
by AidanLee (Chaplain) on May 26, 2001 at 01:23 UTC | |
by Vynce (Friar) on May 26, 2001 at 09:33 UTC |