Dear Monks, The code below is within a loop structure. I'm trying to figure out why it prints all lines of output to my screen, but only the last line of output to the OUT file. Thanks for your input.
{ print "pos $i $testseq\n"; open OUT, ">results5"; print OUT "pos $i $testseq\n"; close OUT; }
In reply to output file gives only last line by henzcoop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |