use strict; use warnings; system("echo test > myfile.txt");