P is for Practical | |
PerlMonks |
Re^4: why is my for loop using modulo giving me a weird outputby perlynewby (Scribe) |
on Jun 28, 2015 at 08:22 UTC ( [id://1132354]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|