[Solved] Perl File Update After Each Print Statement [closed]
Setting $| to non-zero enables autoflush on only the currently selected output file handle. By default this is STDOUT unless you have called select to change it That means that, if you have opened a new handle to a file, $| will not affect its behaviour Instead, you can use the IO::Handle module’s autoflush method. … Read more