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
In reply to Re: question about open
by kcott
in thread question about open
by vbynagari
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |