I am trying to open a file to append and for some reason, it is not working and my commets like "Vijay944" is not written at all. Can someone help?
open NEW944, ">>$mail_944file" or warn $!; print LOG "open NEW944\n"; while (<NEW944>) { print LOG "inside NEW944\n"; print NEW944 "inside NEW944\n"; chomp; print LOG "Vijay944 - $_\n"; if ( ! /^darien_inbound/ ) { print NEW944 $mail_group,"\n"; print NEW944 " \n"; print NEW944 " + \n"; print NEW944 "Transaction ISA Ctl# Date +Time GS Ctl# Order# +\n"; print NEW944 " (YY/MM/DD) + \n" +; print NEW944 "------------------------------------------------- +-------------------------------------------\n"; } }
In reply to question about open by vbynagari
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |