<?xml version="1.0" encoding="windows-1252"?>
<node id="428697" title="Re: File Input and Output" created="2005-02-07 10:38:46" updated="2005-07-28 20:08:32">
<type id="11">
note</type>
<author id="428307">
barun</author>
<data>
<field name="doctext">
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 ?
&lt;br&gt;
open FILE, "&gt;keylogger.dat"; &lt;br&gt;
while(&lt;&gt;){  &lt;br&gt;
print FILE $_;  &lt;br&gt;
}&lt;br&gt;
close FILE;

</field>
<field name="root_node">
960</field>
<field name="parent_node">
960</field>
</data>
</node>
