The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.51

  • BUG FIX: Prevent indefinite hang w/ new Math::BigInt (RT 139268) Thanks, PJACKLAM!
  • BUG FIX: Prevent even-numbered small “primes” (RT 139270) Thanks, PJACKLAM!
  • BUG FIX: Use crypto-random for small primes.
  • Recognize Math::BigInt::GMPz and Math::BigInt::LTM as “fast”.
  • Various small optimizations.


Generate a provable prime number, in pure Perl


in lib/Math/ProvablePrime/