in reply to Modulo of fraction?

It's documented that % is only for integers:
From perlop:
Binary "%" computes the modulus of two numbers. Given integer operands $a and $b : ...