in reply to Re^4: length of 1's
in thread length of 1's
warning on first if line.
Errors in a statement can appear to originate on the first line of the statement. That means the warning can be (and is) issued by the elsif condition.
I already told you how to fix it (3rd item). It occurs when the last element of @bin is a one and you peek past then end of the array.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: length of 1's
by coldy (Scribe) on Apr 27, 2009 at 05:42 UTC |