[sf-perl] Flushing a file.

nheller at silcon.com nheller at silcon.com
Tue Aug 14 11:49:05 PDT 2007


I've come to a point where I wish to flush the contents of a file buffer
before closing the file.

I looked through the Perl man pages and am unable to find this.  I thought
that since Perl is a wrapper for C, there would be a corrolary to
fflush(), but there doesn't seem to be.

How is this situation to be handled?




More information about the SanFrancisco-pm mailing list