How to strengthen control over buffering in Perl? I know that I can use autoflush to autoflush buffer immediately, or I canβt do anything, and let Perl flush when he likes it.
But can I resize the buffer? Or can I force a flash every, say, 30 seconds?
I would like to know how to do this for a file descriptor or STDOUT. I tried looking through the IO::Handle documentation, but couldn't figure out what I needed.
itzy source share