RosettaCodeData/Task/Secure-temporary-file/Julia/secure-temporary-file-1.jl
2024-10-16 18:07:41 -07:00

7 lines
215 B
Julia

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)