Update: I've completely replaced my answer; find the old one in readmore tags below.
Imagine you were a scientist. You research the question whether a new web server caused some changes, or if it was the code organization (or both, or neither of these reasons).
As a scientist, it's your duty to design and run an experiment to decide that question. And since you are a lazy scientist, you chose the simplest experiment that you can think of. Not only does that mean you have less work doing the experiment, but it also means you don't have to write so much when you submit your paper for review.
So, which experiment could you do? A quick brainstorming:
- Run the old code on the new webserver. If it works, the webserver is to blame.
- Run the new code on the old webserver. If it works, the webserver is to blame.
- Dump and inspect the contents of %ENV in the top-level CGI script on the new webserver (not in the module
- Ask on perlmonks
It really depends on your setup if the first two possible experiments are simple, but the third one certainly is.
The fourth has the problem that perlmonks doesn't know your problem too well, and even if they solve the problem for you, you can't submit your paper in the end.
Want to debug your code? Think like a scientist. Start now!
|