I have perl, v5.10.0 built for darwin-thread-multi-2level in remote iMac. And I want to run some perl script which prints to file some data and flushes after each line of output.
- $file_handle->flush();
- autoflush $file_handle;
I have tried this two versions with use IO::Handle; in top of the file, but the result I'm getting is Can't locate object method "autoflush" via package "FileHandle".