The apache server behave strange when I try to call a perl procedure . I need to execute the script for many times to get the correct result. Is not normal.
If I put the same code (from procedure) inside the cgi file everithing is ok.

Does someone know waht is the problem ?

I really appreciate your answers!