On Sunday, Nov 16, 2003, at 21:22 US/Pacific, R. Joseph Newton wrote:


drieux wrote:

I on the other hand have had the unpleasantry of FORGETTING
that I was whacking new code in that was doing a 'select'.

So one solution is to make sure that IF you do a select that
you put things back where you found them, eg:

        my $oldfh = select($newfh);
        # the neat new stuff here
        ...
        select($oldfh);

...or better yet, to redo your code a little, and write to and read from explicitly-selected filehandles.

why?



ciao drieux

---


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to