<br><br><div><span class="gmail_quote">On 8/14/07, <b class="gmail_sendername"><a href="mailto:nheller@silcon.com">nheller@silcon.com</a></b> <<a href="mailto:nheller@silcon.com">nheller@silcon.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I've come to a point where I wish to flush the contents of a file buffer<br>before closing the file.
</blockquote><div><br>Closing the filehandle will flush it automatically. For other times, if you use IO::Handle you can call ->flush on an object to do the flush manually if you'd like.<br><br>Garth<br></div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I looked through the Perl man pages and am unable to find this. I thought<br>that since Perl is a wrapper for C, there would be a corrolary to
<br>fflush(), but there doesn't seem to be.<br><br>How is this situation to be handled?<br><br><br>_______________________________________________<br>SanFrancisco-pm mailing list<br><a href="mailto:SanFrancisco-pm@pm.org">
SanFrancisco-pm@pm.org</a><br><a href="http://mail.pm.org/mailman/listinfo/sanfrancisco-pm">http://mail.pm.org/mailman/listinfo/sanfrancisco-pm</a><br></blockquote></div><br>