in reply to output caught in memory
Alternatively, you can try to build the entire entry into a variable first - then write it. So:$|=1; # $| is undef by default - which means use buffering - define it + as 1 - and it instantly writes. print FILE scalar localtime; print FILE " ## Exit\n"; close FILE;
I hope this helps :).$close = localtime; print FILE "$close ## Exit\n"; close FILE;
|
|---|