At 06:20 PM 5/30/02 -0700, drieux wrote:
>On Thursday, May 30, 2002, at 05:51 , Peter Scott wrote:
>
>>At 05:35 PM 5/30/02 -0700, drieux wrote:
>[..]
>>>inside another loop that is based upon the Max index value of
>>>the keys in %decrHash - all of which are ints....
>>
>>And apparently >= 0 based on the code below too.  Do these ints greatly 
>>exceed the number of keys in the hash?  Might use an array otherwise, 
>>assuming you have no undef values.
>
>I had to do the initialization or the 'if' whined at me... and
>yes logically it has to be $key > 0.

I'm missing the reason this can't be an array.  What is the domain range of 
the values of the integer keys, and what is the domain range of the number 
of keys?

--
Peter Scott
Pacific Systems Design Technologies        Boston Perl Classes in July:
http://www.perldebugged.com/               http://stemsystems.com/class/


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to