in reply to slowing down perl script to ensure file is written before program tries to process it in subroutine

did you forget to close your outputfile?

s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
+.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e
  • Comment on Re: slowing down perl script to ensure file is written before program tries to process it in subroutine
  • Select or Download Code

Replies are listed 'Best First'.
Re^2: slowing down perl script to ensure file is written before program tries to process it in subroutine
by aquarium (Curate) on Sep 01, 2006 at 14:25 UTC
    yeah...closing the file flushes output to it, so it actually gets written to disk from memory cache. so close the file after you write to it, and bob's your uncle.
    the hardest line to type correctly is: stty erase ^H