in reply to Filehandle Print
The output is being buffered, so it'll write out a whole bunch of prints at a time, eventually. The following will cause the filehandle to autoflush:
{ my $old_selected_fh = select(*REPORT); $| = 1; select($old_selected_fh); }
|
|---|