The IO::Handle module provides access to setbuf and setvbuf.
In reply to Re: Configurable IO buffersize? by jwkrahn in thread Configurable IO buffersize? by BrowserUk