Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^3: Perl Loops

by Anonymous Monk
on Jul 01, 2013 at 01:43 UTC ( #1041700=note: print w/replies, xml ) Need Help??

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

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1041700]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2022-05-25 17:17 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (90 votes). Check out past polls.