in reply to Pause Loop

Hi Cody,
Try:
while(1) { #script line 1 #script line 2 #script line 3 #script line 4 sleep (3600); }
See "perldoc -f sleep".

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Pause Loop
by pyro.699 (Novice) on Apr 28, 2007 at 00:03 UTC
    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 :)

      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