in reply to Learning Perl - Question About Using a For Loop To Pull Data From an Array
Learning to use the Perl debugger will help you with understanding stuff like this. You can inspect the values of variables and see how instructions change them. In particular, you could put a watchpoint on $counter so you would see the values being used.
I hate to see such sloppy programs being used as examples!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Learning Perl - Question About Using a For Loop To Pull Data From an Array
by aUserName (Initiate) on Apr 01, 2016 at 20:20 UTC | |
by Marshall (Canon) on Apr 01, 2016 at 20:52 UTC |