Hello,
been trying to come up with a way, while going through a loop to alternate a table cell color <td></td>....
See if this gets you thinking along the right lines:
my $odd = 1; while (<>) { # some kind of loop... if ($odd) { # do something $odd = 0; } else { # do something else $odd = 1; } }
__END__
James
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>