The code I was working with to solve my FotoBilder-on-Windows problem opens a file with the global filehandle
TEMP. Now, I may be wrong here, but don't globals exist for all requests that mod_perl is currently handling, so that when there's high traffic one request might clobber another's
TEMP filehandle and cause both resized images to get corrupted?
I switched everything to using the local variable
$temp and all was happy, and even if it's not necessary I suggest doing that because I think that the symbolless global filehandles are ugly and nasty and should die along with ampersands at the start of calls to subroutines.