RosettaCodeData/Task/Secure-temporary-file/Julia/secure-temporary-file-1.julia

8 lines
215 B
Text
Raw Permalink Normal View History

2015-11-18 06:14:39 +00:00
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)