in reply to Re: Prime number generator
in thread Prime number generator

Are you using the -l command line switch? Are you patient enough? Buffering might prevent the output from appearing straight-ahead. Try adding a $|++; to the start of first two alternatives to make it autoflush.

Replies are listed 'Best First'.
Re^3: Prime number generator
by mr_mischief (Monsignor) on Jul 26, 2006 at 22:46 UTC
    It was the buffering. Autoflush made it work like a champ. I simply hadn't considered that. Thanks.


    Christopher E. Stith