in reply to Find if a number is a multiple of a number.

Use the modulus operator: %. For details, see the perlop manual page.