$cnt doesn't work for me as advertised

2007-09-25 Thread Todd White
The variable $cnt doesn't seem to work for me. Am I doing something wrong? Here's my code: ## $cnt test [- $maxcol = 3; -] [+ $maxcol +] [- @test_arr = ('A', 'B', 'C', 'D', 'E', 'F', 'G'); -] [+ $test_arr[$cnt] +] ###

RE: $cnt doesn't work for me as advertised

2007-09-25 Thread Tom Briles
Looks correct to me. What are you expecting? - Tom > -Original Message- > From: Todd White [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 25, 2007 3:50 PM > To: embperl@perl.apache.org > Subject: $cnt doesn't work for me as advertised > > > The variable $cnt doesn't seem to work fo

RE: $cnt doesn't work for me as advertised

2007-09-25 Thread Todd White
I'm expecting three rows of three columns, like so: A B C D E F G All I am getting is one row of one column. A --Todd On Tue, 25 Sep 2007, Tom Briles wrote: > Looks correct to me. What are you expecting? > > - Tom > > > -Original Message- > > From: Todd Wh