in reply to Re^3: Alternative to Substr?
in thread Alternative to Substr?
There is one serious bug in this code and a second less serious bug.
|
If a line does not contain DosID= then the short circuit means that the increment on $count never occurs so the skip alternation will breakdown The original logic looked at even index elements, this looks a odd ones |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Alternative to Substr?
by davorg (Chancellor) on Sep 29, 2004 at 13:12 UTC |