|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re: % in perlby boblawblah (Scribe) |
| on Feb 10, 2009 at 22:23 UTC ( [id://742918]=note: print w/replies, xml ) | Need Help?? |
|
The modulus operator gives you the remainder in division. So...
because 22 divided by 5 is 4 and 2/5 or 4 and a remainder of 2. Also, you should put code between <code> </code> tags. I suggest you read this.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||