Re: Modulus operator, unexpected results

2002-11-22 Thread Jeff 'japhy' Pinyan
On Nov 22, Poster said: >Hi, I am having a little trouble with a sub that is using the modulus >operator. No, your function is written incorrectly, and you don't use it correctly. >while (my $row = $sth->fetchrow_hashref()) { > count++; > color_rows( $count ) > --some other

Re: Modulus operator, unexpected results

2002-11-22 Thread Sudarshan Raghavan
On Fri, 22 Nov 2002, Poster wrote: > Hi, I am having a little trouble with a sub that is using the modulus > operator. > > It is called here-within a while loop: > while (my $row = $sth->fetchrow_hashref()) { > count++; > color_rows( $count ) > --some other stuff > tab

Modulus operator, unexpected results

2002-11-22 Thread Poster
Hi, I am having a little trouble with a sub that is using the modulus operator. It is called here-within a while loop: while (my $row = $sth->fetchrow_hashref()) { count++; color_rows( $count ) --some other stuff table cell value -some other stuff }