>select FH; >$| = 1; >select STDOUT; There is not any problem here.While I find a more simple statement insteadly:
select ( (select FH, $|=1)[0] ); It based on the fact that 'select' should return the previous file-handle relative to the selected file-handle. -- Jeff Pang NetEase AntiSpam Team http://corp.netease.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>