open(OUT, "> test.txt") || die; print OUT "This is a test...\n"; print OUT "More text...\n"; close(OUT);
On Fri, 2003-01-17 at 08:26, [EMAIL PROTECTED] wrote: > How can I write to a file in perl. > > Thomas -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]