You may also want to take a look at $|++ which will turn buffering off and will also allow your code to work.#!/usr/bin/perl -w use strict; { print "I'm going to sleep\n"; sleep(1); redo; }
HTH.
--
Zigster
In reply to (Zigster)Re: sleep?
by zigster
in thread sleep?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |