I am directing the output to a file. It is getting directed, but not at the same time. every time i click on refresh button the size of file gets increased.
i have declared open and select at the beginning of the program before all the Print statements.
i am using this to write to a file.
open(RSCrpt,">rscrpt.txt");
$old_fh = select(RSCrpt);
select ($old_fh);
.
.
print RSCrpt " ...... ";
.
.
.
close(RSCrpt);
I want the entire output written to a file simultaneously.