in reply to sleep in infinite loop
Flush the output:
#!/usr/bin/perl use warnings; use strict; $| = 1; while (1) { sleep 5; print "interval"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: sleep in infinite loop
by dsheroh (Monsignor) on Mar 13, 2008 at 14:45 UTC | |
|
Re^2: sleep in infinite loop
by Anonymous Monk on Mar 16, 2011 at 12:35 UTC |