in reply to Re^2: Perl Loops
in thread Reaped: Perl Loops

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 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

perlintro#Conditional and looping constructs Chapter 4: Loops and Decisions

The for loop in Perl, while loop
Teaching Kids To Code - YouTube
How to Design Programs
Structure and Interpretation of Computer Programs