Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: File Input and Outputby barun (Novice) |
on Feb 07, 2005 at 15:38 UTC ( [id://428697]=note: print w/replies, xml ) | Need Help?? |
i am running this code to create a new file.But i am simply getting a blank file after runing this code .I am using Ctrl+Z to terminate writing.I hope i m missing something .Can anyone point out my mistake ?
open FILE, ">keylogger.dat"; while(<>){ print FILE $_; } close FILE;
In Section
Tutorials
|
|