http://www.perlmonks.org?node_id=669076

kansaschuck has asked for the wisdom of the Perl Monks concerning the following question:

Monks, Ok I've got this Perl program running in a loop and life is good as it continually monitors. But I would like to stop it from time to time. Of course if I drop the command prompt window it ends. Looking for something a little nicer. Cntl-C ? I could use some examples or at least finger pointed in the right direction and a gentle push. Interrupt and then offer a resume/continue? all ideas, examples, suggestions appreciated. kc