The stupid question is the question not asked | |
PerlMonks |
Re: Hash Questionby ELISHEVA (Prior) |
on Jan 10, 2011 at 22:14 UTC ( [id://881551]=note: print w/replies, xml ) | Need Help?? |
Only assign a value to the hash key if (!exists($acct($s)). This will be true only for the first line so only the first line will be saved in your hash.
In Section
Seekers of Perl Wisdom
|
|