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] );
In reply to Re: Re: Delayed writes
by fruiture
in thread Delayed writes
by SpaceAce
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |