> 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. MAIN_LOOP: while (1) { # maybe do some stuff here last MAIN_LOOP if ($i_gotta_get_out); # maybe do some other stuff here }