what module did you upgrade? What else has changed in your script? Can you provide a small snippet that illustrates the problem? I also wonder if this is a case of buffering -- try putting $|=1; towards the top of your script (if that solves it, see The extremely simple buffering tutorial (really just an example) for more information).