Balaji thoguluva wrote: > > I would like to know if there is a function(other > than close FILEHANDLE) to flush current filehandle's > buffer data to the file. In otherwords, I want to make > sure the following PRINT statement to work immediately > after its execution. > > print FILEHANDLE "Flush this data IMMEDIATELY to the > file";
Hi Balaji. If you use IO::Handle; then you can flush FILEHANDLE; whenever you want, or turn on autoflush with autoflush FILEHANDLE; which will flush the buffer after every print. HTH, Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>