in reply to Counting frequency of occurrence - what am I doing?

You want to know what $a[$var1][$var2] means?

It's a two-dimensional array (or rather an array of array references) - Try starting here at perlreftut
--------------
It's sad that a family can be torn apart by such a such a simple thing as a pack of wild dogs

Replies are listed 'Best First'.
Re^2: Counting frequency of occurrence - what am I doing?
by Annemarie (Acolyte) on Mar 08, 2005 at 20:44 UTC
    I can only see actual numbers in the square brackets. So if I use an example from my value range, I could have something like  $a[50][3]. What about the arrays 0-49?
      As ikegami said (and I haven't really dug into the code) your arrays are sparse. Meaning those values are undefined.
      --------------
      It's sad that a family can be torn apart by such a such a simple thing as a pack of wild dogs