Secure temporary file

var tmpfile = require('File::Temp')
var fh = tmpfile.new(UNLINK => 0)
say fh.filename
fh.print("Hello, World!\n")
fh.close

Last updated