in reply to Re: Pause Loop
in thread Pause Loop

It seems that the sleep command will total all the commands there, i tried
while(1) { print 1; sleep (1); }
And nothing displayed. Thanks for the looping part though :)

Replies are listed 'Best First'.
Re^3: Pause Loop
by Zaxo (Archbishop) on Apr 28, 2007 at 00:24 UTC

    You must not have allowed it to run long enough to fill the output buffer. Prepend the line,

    $| = 1;
    before the loop to turn off buffering.

    After Compline,
    Zaxo