in reply to how to store data in file with out using print
system "echo '$a' > file.txt"; [download]