Sidef
view release on metacpan or search on metacpan
scripts/RosettaCode/secure_temporary_file.sf view on Meta::CPAN
#!/usr/bin/ruby
#
## https://rosettacode.org/wiki/Secure_temporary_file
#
var tmpfile = require('File::Temp');
var fh = tmpfile.new(UNLINK => 1);
say fh.filename;
fh.print("Hello, World!\n");
fh.close;
( run in 0.773 second using v1.01-cache-2.11-cpan-39bf76dae61 )