in reply to question about open
It looks like $mail_944file is probably empty to start with. Try adding some test code to check this; something like:
... while (<NEW944>) { print "Reading line $.\n"; print "Contents: $_\n}; ...
Also take a look at -X functions - you can check for file existence, file size and so on.
-- Ken
|
|---|