On Dec 18, 2003, at 8:54 PM, Ricardo SIGNES wrote:
* 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
I always do something more like:
my $i;
while (<>) {
print " ... \n"
}
The benefit
* 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
I always do something more like:
my $i;
while (<>) {
print " ... \n"
}
The benefit here is that someday I can replace the 2 with
Thx's James worked fine,... the simplest way is usually the most obvious
over-looked way :)
MikeBlezien
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Thunder Rain Internet Publishing
Providing Internet Solutions that work!
http://www.thunder-rain.com
James Edward Gray II wrote:
On Dec 18, 2003, at
Paul Johnson <[EMAIL PROTECTED]> wrote:
> On Thu, Dec 18, 2003 at 07:26:03PM -0500, Randy W. Sims wrote:
> > On 12/18/2003 7:00 PM, James Edward Gray II wrote:
> > >On Dec 18, 2003, at 5:48 PM, Mike Blezien wrote:
> > >
> > >>Hello,
> > >>
> > >>been trying to come up with a way, while going throu
On Thu, Dec 18, 2003 at 07:26:03PM -0500, Randy W. Sims wrote:
> On 12/18/2003 7:00 PM, James Edward Gray II wrote:
> >On Dec 18, 2003, at 5:48 PM, Mike Blezien wrote:
> >
> >>Hello,
> >>
> >>been trying to come up with a way, while going through a loop to
> >>alternate a table cell color
> >
On 12/18/2003 7:00 PM, James Edward Gray II wrote:
On Dec 18, 2003, at 5:48 PM, Mike Blezien wrote:
Hello,
been trying to come up with a way, while going through a loop to
alternate a table cell color
See if this gets you thinking along the right lines:
my $odd = 1;
while (<>) {# som
On Dec 18, 2003, at 5:48 PM, Mike Blezien wrote:
Hello,
been trying to come up with a way, while going through a loop to
alternate a table cell color
See if this gets you thinking along the right lines:
my $odd = 1;
while (<>) { # some kind of loop...
if ($odd) {
Hello,
been trying to come up with a way, while going through a loop to alternate a
table cell color
IE.
while (..) {
# To alternate a td cell color for each loop cycle so I end up
# with something like this:
# 1st loop
# 2nd loop.
# 3rd loop..
# 4th loop.