use IO::Handle qw( ); STDOUT->autoflush(1); do { sleep(5); print "Hello..."; } while(1);
use IO::Handle qw( ); do { STDOUT->flush(); sleep(5); print "Hello..."; } while(1);
In reply to Re: Troubles with do...while loop and sleep
by ikegami
in thread Troubles with do...while loop and sleep
by imlepid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |