|Think about Loose Coupling|
Perl & modulusby jkva (Chaplain)
|on Feb 15, 2005 at 09:28 UTC||Need Help??|
jkva has asked for the
wisdom of the Perl Monks concerning the following question:
Wise ones, I am asking this here, for I am starting to dislike asking questions in the CB. Plus, this way, other people can read the answer to this post, which is less selfish if you ask me :)
My question is : I am trying to perform a loop using modulus in my perl script. Is this even possible? I have searched PM and did not find.
Oh, before I forget... does anyone know how I can "test" if a number is dividable by another number? (As in 9 is dividable by 3, but not by 5)?