in reply to Re^2: array processing
in thread array processing
You've got an error in testing for your $linenum. Also, you're incrementing your variable after you test and loop back, so it never gets incremented. Change
tonext unless ($linenum = $lastline);
next unless ($linenum++ >= $lastline);
Update: sorry, I didn't do this carefully enough, changed to work
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: array processing
by Anonymous Monk on Dec 06, 2005 at 13:12 UTC | |
Re^4: array processing
by Anonymous Monk on Dec 06, 2005 at 13:31 UTC |