Think about Loose Coupling | |
PerlMonks |
Re: The Exponentiation of (not-so) Large Primesby hiseldl (Priest) |
on Oct 02, 2002 at 14:42 UTC ( [id://202289]=note: print w/replies, xml ) | Need Help?? |
If you look at the source of Math::BigInt.pm, you will find
in the operator overload section. This is the operation that I used in a project where I did about the same thing as you are doing. The docs don't show **, but you should still be able to use it, because it's in the code. Or, you can call bpow(arg1, arg2) directly. :) --
In Section
Seekers of Perl Wisdom
|
|