# hand waving here... # # No, I wouldn't really write a Perl script without use'ing strict. # :-D open FOUT,"> myfile.txt" or die "myfile.txt:$!"; # do writes here close FOUT; system("notepad.exe myfile.txt"); # untested code. Please do not use this for anything # that could be potentially life threatening # lest the fleas of a thousand camels infest your # armpits and drive you buggy.