Weird Usage Of �select� in perl
Feb 17, 2010, 08:33 (1 Talkback[s])
Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers
[ Thanks to An Anonymous Reader for
this link. ]
"Many times while going through some perl code, you
must have come across snippets like "select((select(fh), $|=1))"
and wondered what this means, even though you might know that:
* $|=1 is used for setting autoflush (i.e. unbuffered data
output) and that
* select is used to set the default output to a given file handle
instead of STDOUT
"Whenever I face any issue with a code fragment, I try to break
it down into simpler terms to understand it from the beginning
(like I did for my random number generation post). So, these are
the steps in which I progressed:"