in reply to Larry Gets The Colon. (selective addition of an arrayref to a hash) (code)
It is not necessary to associate data with filenames, just data with line numbers. So, we construct a hash with line numbers as keys.
I'm sure there's a reason, but it's not apparent to me... why use a hash with numbers as keys instead of an array of array references?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Larry Gets The Colon. (selective addition of an arrayref to a hash) (code)
by bwana147 (Pilgrim) on Jun 01, 2001 at 20:21 UTC | |
|
Re: Re: Larry Gets The Colon. (selective addition of an arrayref to a hash) (code)
by Anonymous Monk on Oct 14, 2003 at 09:29 UTC |