factor.pl(1) Print prime factors


factor.pl [,options/] [,number/] ...


Print the prime factors of each positive integer given on the command line, or reads numbers from standard input if called without arguments.

Math expressions may be given as arguments, which will be evaluated before factoring. This includes most Math::Prime::Util functions including things like prime_count(#), nth_prime(#), primorial(#), random_nbit_prime(#), etc.

displays this help message
displays the version information
as we factor, display information about what we're doing

Part of the Math::Prime::Util 0.58 package, wrapping the factor() function. See 'man Math::Prime::Util' for more information.


Written by Dana Jacobsen.