while ($cmd = ReadKey(0)){ if ($cmd =~ /K/){ #fork and do something, continue with loop } #check for other keys either forking more or killing procs etc }
In reply to Re: Practical, efficient uses for fork()
by the_slycer
in thread Practical, efficient uses for fork()
by vilk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |