[EMAIL PROTECTED] wrote: > ok so here is what I did and it is now working. > > one thing I do not fully understand is the diff between > my $svsel = select; select OUT ; $|=1; > and > select (select(OUT), $| = 1 ) [0] ); > > the second line works while the first does not and > from my understanding I am selecting OUT and never re-selecting the > original filehandle?
My bad. I should have added select($svsel) to the first line in order to reselect the previous handle (i.e. STDOUT). But as I said before, this is NOT the right approach to your problem. Just test your @ftapes array and be done with it. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>