Hi, On Tue, 18 Jan 2000, Schlough, Mark wrote: > I'm writing perl program that needs to run continuously. Does anyone have a > suggestion of what kind of looping mechanism I should use? > Also, I'd like to know if there are any preferred ways to break the loop. #!/usr/local/bin/perl while() { # Infinite loop $x++; last if ($x==100); # Exit loop when $x == 100 } -Yaron --