Prime Numbers up to a million

https://www.emogic.com/cgi/primes/primes.cgi

Generates prime numbers from 2 to 1,000,000 using Eratosthenes’ prime number sieve. Why? Why not.

PERL source code is available: