in reply to Re: Element Count from Array to HoH
in thread Element Count from Array to HoH
Q: Perhaps you ought to be increasing {TTAT}{I1}, ie {$item2}{$tid}
A: I can't do that, cause it will miss counting "TTTT". if what you mean is changing them to this:$$transaction_map_ref{$item2}{$tid}++;
Q:or possibly {TTTT}{I2}?
A:I don't get what you mean by that. What's the difference with the above statement.
Sorry..I'm rather slow here..
Q:can you have repeated elements in your array, and if so, what should be the behaviour?I hope that clarifies the problem.
A: Yes if that's the case, as long as condition "hd<=$d", they should be counted.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Element Count from Array to HoH
by ivancho (Hermit) on May 26, 2005 at 07:56 UTC |