in reply to Re: Do the File::Stat values Update While a File is Being Written?
in thread Do the File::Stat values Update While a File is Being Written?

IIRC, opening a file with write and truncate options (i.e. what happens while you open F,">",$file) will immediately set the file's size to 0, regardless of what happens later. At least, on POSIXy file systems.

  • Comment on Re^2: Do the File::Stat values Update While a File is Being Written?
  • Download Code