|
|
| The stupid question is the question not asked | |
| PerlMonks |
Array values into hashby FireBird34 (Pilgrim) |
| on Feb 09, 2003 at 06:45 UTC ( #233849=perlquestion: print w/ replies, xml ) | Need Help?? |
|
FireBird34 has asked for the
wisdom of the Perl Monks concerning the following question:
Given that FILE contains:
key1|value1| key2|value2| key3|value3| And so forth, how would I be able to place that into a hash, so that: $hash{key1} = value1? I am a bit stuck here... Any input would be appreciated. Thanks.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||