RE: Write to file handle

2005-12-26 Thread Timothy Johnson
; print OUTFILE $_; close OUTFILE; } if ($comread) { $comread = 0; }else { sleep 1; } } -Original Message- From: swayam panda [mailto:[EMAIL PROTECTED] Sent: Sunday, December 25, 2005 11:08 PM To: b

Write to file handle

2005-12-25 Thread swayam panda
Hi All , I am using Win32::SerialPort to read the datas from the serial port .It's working fine .but i want to save (what ever the serial port is reading) to a log file continuously .Can anybody help me how to do .I know that i have open a file like open (*FIL,+>>log.txt) or d