http://qs321.pair.com?node_id=309503


in reply to Re: Re: how can I speed up this perl??
in thread how can I speed up this perl??

You access the data by supplying the hash key. so print $counts{tt}; would print the frequency of tt occurences.

Replies are listed 'Best First'.
Re: Re: Re: Re: how can I speed up this perl??
by Anonymous Monk on Nov 24, 2003 at 11:47 UTC
    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
      Could you post the code, then, because this ought to be working. A couple quick things to check: you are ++'ing the value (not just setting it to 1 or something).

      ------------
      :Wq
      Not an editor command: Wq