- or download this
open my $fh, ">FILENAME" or die "Can't write FILENAME: $!";
print $fh "We are writing a line of text to a file.\nSecond line";
close $fh;
- or download this
<%
Dim objFSO, objTextStream, file
...
Set objTextStream = Nothing
Set objFSO = Nothing
%>
- or download this
try {
BufferedWriter out = new BufferedWriter(new FileWriter("outfil
+ename"));
...
out.close();
} catch (IOException e) {
}