in reply to question about open

You are opening NEW944 for output only, but then you try to read it as input with your while loop. Maybe you are looking for:
open NEW944, "+>>$mail_944file" or warn $!;

See Mixing Reads and Writes

Replies are listed 'Best First'.
Re^2: question about open
by vbynagari (Initiate) on Oct 28, 2010 at 01:30 UTC

    I have done that, but still, no luck..