Stuart White wrote:

> This does make it clearer, but not entirely.  Is this
> what is happening: the loop starts, and goes
> immediately into the if statement.  when the regex
> finds a line with "Jump Shot" it stores that in $2,
> and the player name in $1.  The next thing it does,
> and I'm not quite sure how, is it populates a hash.
> Creating it I understand, populating it not so much.
> Maybe if I write it as $linehash{$1} =
> $linehash{$1}++; though, that still doesn't clear up
> the populating part.

The player's name IS the number.  No other numbering system is
needed.  The players name is NEVER stored in the hash, AFAIK.  The
name is used to feed a hashing function, which renders an index into
the storage of the hash structure.  There is found the count-- the
ONLY DATA stored for any player/number.,

Joseph


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to