in reply to Re: Using hash keys to separate data
in thread Using hash keys to separate data
Marshall,
I suppose I was over-thinking it. Your method looks to read in constant time, and for a large input file that I'm working with I think that may be beneficial.
The only reason I included the key list is because I thought that would be the easiest way to separate the input data into separate files. However, the input data is already well-sorted so your method should work.
One more question in general: with my code and the suggestions everyone has given, there is still an error message (despite the fact that the output is correct). Is there any way to get rid of this error message or is it just something I am going to have to deal with? The message refers to uninitialized value errors, and I was trying to fix this before. However, I suppose if the output is still correct that is the only thing that matters.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Using hash keys to separate data
by Marshall (Canon) on Jun 29, 2011 at 22:43 UTC |