P is for Practical | |
PerlMonks |
Re: Modulo operation to return quotient and remainderby dasgar (Priest) |
on Jul 11, 2012 at 19:56 UTC ( [id://981243]=note: print w/replies, xml ) | Need Help?? |
As pointed out, it's not difficult to do it with just a few lines of code. If you wanted to, you could also just create a subroutine like the untested code below:
In Section
Seekers of Perl Wisdom
|
|