I'm not aware of any module that does this but it's easy enough to roll your own:
$ perl -Mstrict -Mwarnings -E ' my ($var, $mod) = (4999, 100); my ($quot, $rem) = (int $var / $mod, $var % $mod); say $quot; say $rem; ' 49 99
-- Ken
In reply to Re: Modulo operation to return quotient and remainder
by kcott
in thread Modulo operation to return quotient and remainder
by darklord_999
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |