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


in reply to Re^2: Threading in a loop
in thread Threading in a loop

I think a better way to put it is that you are going to create or spawn a new thread (not restart the thread).

You would have to think some more about how to print every time the shared variable changes value.