in reply to Re^2: Reg: Performance
in thread Reg: Performance

from shell
perl script.pl > file.txt
or in code
open OUT, '>', 'file.txt'; ... print OUT ...