select on file handle

2007-11-16 Thread ton de w
Hello List, Have some code I dont quite understand first line (appart from some harmless variable setting is: select((select(STDOUT), $| = 1)[0]); Could someone help with an explanation please? Will this work on unix and windows BTW? TIA Ton -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: select on file handle

2007-11-16 Thread John W . Krahn
On Friday 16 November 2007 00:24, ton de w wrote: > Hello List, Hello, > Have some code I dont quite understand > first line (appart from some harmless variable setting is: > select((select(STDOUT), $| = 1)[0]); > > Could someone help with an explanation please? perldoc -q flush > Will this wo

Re: select on file handle

2007-11-16 Thread Jeff Pang
On Nov 16, 2007 4:24 PM, ton de w <[EMAIL PROTECTED]> wrote: > Hello List, > > Have some code I dont quite understand > first line (appart from some harmless variable setting is: > select((select(STDOUT), $| = 1)[0]); > select FH returns the before handler which had been selected. so the return va