Dear Ken, Thanks for your input but I just updated my post to reflect where I needed the correction/help at. Thanks!
Forget about the code you have, start over, create a folder "one" with five files for.pl dowhile.pl while.pl dountil.pl forfor.pl and start filling them until you have a command of how they work; first you learn addition, then you learn multiplication
say one print a range of numbers; say 24 .. 42
say two print odds from 24 .. 42 and evens from 42 .. 84
say three same as two except avoid all use of range operator, use addition
say four same as two except only use subtraction
|Comment on Re^3: Perl Loops|