in reply to How to sleep(), or use a while() in the background?
Classic strategy is the following things :) Proc::Background, Highlander: one instance at a time (Oct 00), Watching long processes through CGI (Aug 02) , Throttling your web server (Oct 00), Slow down the download! (Jan 98)
Also avoid shell interpolation
In Section
Seekers of Perl Wisdom