$log->autoflush(1);
Actually, I tried just that prior to my post. It errored out on me. Possibly the version of Perl that was installed on my VMWare virtual machine is at fault. At any rate if it works for you, use it. If not, my solution is just as valid.
Not sure I understand your comment about $| being cryptic. Seems like Perl 101 to me...
In reply to Re^3: writing to logfile in a loop
by blue_cowdawg
in thread writing to logfile in a loop
by jarthda
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |