Sounds like you are trying to write too big of a buffer (for the pipe).
while( 4096 < length $buffer ) { syswrite( STDOUT, $buffer, 4096 ); substr( $buffer, 0, 4096, '' ); } syswrite( STDOUT, $buffer );
Perhaps?
- tye
In reply to Re: syswrite and STDOUT (nibble)
by tye
in thread syswrite and STDOUT
by OverlordQ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |