You access the data by supplying the hash key. so print $counts{tt}; would print the frequency of tt occurences.
| [reply] [d/l] [select] |
thanks for your patience moxliukas, but this is what i have been doing, and I dont get a total count, I get a list of presence / absence numbers instead e.g. 00000000000100000000000000010000000000000000001000000000001
| [reply] |
| [reply] |
Do you know what a hash is?
Abigail | [reply] |
yes!
bur I tried this:
and i just get a list of 1's: 11111111111111
I dont get the actual count
$tt = $freq{tt};
print " tt $tt\n";
| [reply] [d/l] |
Without seeing the code, it's hard to say what's wrong.
Abigail
| [reply] |