RosettaCodeData/Task/Secure-temporary-file/Julia/secure-temporary-file-1.julia
2023-07-01 13:44:08 -04:00

7 lines
215 B
Text

msg = "Rosetta Code, Secure temporary file, implemented with Julia."
(fname, tio) = mktemp()
println(fname, " created as a temporary file.")
println(tio, msg)
close(tio)
println("\"", msg, "\" written to ", fname)