Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^4: why is my for loop using modulo giving me a weird output

by perlynewby (Scribe)
on Jun 28, 2015 at 08:22 UTC ( [id://1132354]=note: print w/replies, xml ) Need Help??


in reply to Re^3: why is my for loop using modulo giving me a weird output
in thread why is my for loop using modulo giving me a weird output

print, you are performing the task print

while when you use IF then you are checking to see if the statement is true or false, If true then go and do what's inside the brackets. False, then don't go inside the brackets

  • Comment on Re^4: why is my for loop using modulo giving me a weird output

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-24 04:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found