Think about Loose Coupling | |
PerlMonks |
Everything gets output twiceby jepri (Parson) |
on May 21, 2001 at 09:38 UTC ( [id://81918]=perlquestion: print w/replies, xml ) | Need Help?? |
jepri has asked for the wisdom of the Perl Monks concerning the following question:
I think I must have gone nuts. One browser request gives me two of everything. Everything is doubled - the log file entries and the brwoser output. The two outputs seem to be separated by about a second. As you can imagine this really screws up my output html. This problem also happens when I switch apache into single-threaded mode, if I use straight CGI, whatever. Running it off the command line, it appears that my module (Common.pm) gets loaded twice, but the program only runs once. Going through my backups they all seem to do it, and yet I'm sure I would have noticed this problem a week ago. What could I have done to get this effect?
Take note of the random numbers, which were generated with a print rand(1000)
____________________
Back to
Seekers of Perl Wisdom
|
|