in reply to Re: Delayed writes
in thread Delayed writes
I always like to set things back to how they were
Then the following should be much better, because it really resets the selected handle, no matter which was selected.
--my $oh = select( WHATEVER ); $| = 1; select($oh); # or even (might be regarded as obfu) : select( ( select( WHATEVER ), $| = 1 )[0] );
|
|---|