in reply to Please review script; too much server load

Hi,

without all the subroutines, there is no way for us to see where the script might take a lot of CPU time.

I would suggest profiling your script. The standard Perl distribution includes the Devel::DProf module which can be used for this. Do something like (lifted straight from Devel::DProf pod):

$ perl -d:DProf script.pl $ dprofpp
This will show the 15 subs your program spends most time in. That should narrow down the suspect subroutines. Once you have your likely candidates, use Benchmark to try and improve their execution times.

CU
Robartes-