When I use something like:
$sleeptime = 60;
sleep $sleeptime;
the script still consumes a small amount of system resources while it is supposed to be sleeping. I have tried every variation of the sleep function that I can think of. I have also tried compiling the script, but, it does not change. Anyone have any ideas as to why Perl does not really sleep?
$sleeptime = 60;
sleep $sleeptime;
the script still consumes a small amount of system resources while it is supposed to be sleeping. I have tried every variation of the sleep function that I can think of. I have also tried compiling the script, but, it does not change. Anyone have any ideas as to why Perl does not really sleep?