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


in reply to require sugesstions for writing a perl script

Why not try to run 50 processes and then sleep for 20 seconds and again run 50 processes, sleep 20 sec. and etc.

for i in 1 2 3 4 5 . . . . . . 1000 do nohup validation.pl $i & if [ $i%50=0 ]; then sleep 20 fi done

Regards, Pavel Petrov