|laziness, impatience, and hubris|
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:
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!
That makes it likely that the new server is to blame. Just dump %ENV on the new server in the top-level CGI script, and see if it's what you expected. Then you'll know if the new server or the module boundary is responsible.