* Mike Blezien <[EMAIL PROTECTED]> [2003-12-18T18:48:23] > been trying to come up with a way, while going through a loop to > alternate a table cell color <td></td>....
I always do something more like: my $i; while (<>) { print "<tr class='r", ($i++%2), "'> ... </tr>\n" } The benefit here is that someday I can replace the 2 with 3 and have three behaviors. Yes, that's a minor benefit. -- rjbs
pgp00000.pgp
Description: PGP signature