in reply to apache problem with perl script

In many responses to your previous questions you have links to debugging techniques, FAQs. I suggest you take the time to work through some of them. Tutorials -> Ovid's CGI Course. Clearly you can't have "tried everything" as you say. Also, Apache 2.2.3 is old and has associated vulnerabilities.

Update: rewording for clarity.