We don't bite newbies here... much | |
PerlMonks |
Tear it apart...select()by snafu (Chaplain) |
on Mar 01, 2003 at 22:01 UTC ( [id://239770]=perlquestion: print w/replies, xml ) | Need Help?? |
snafu has asked for the wisdom of the Perl Monks concerning the following question:
I've seen this a few times and yes, it is explained as "fancy" but will someone help me understand exactly what it's doing?
I will take a stab at it. Select() simply select a filehandle to read and write to for the current process, right? But what exactly is the embedded select() doing?? It looks like the inside select() is returning element 0 of an array which the external select() is selecting. So, I ran a couple of tests:
It looks like I now have select()'ed two filehandles to play with at the same time. Is that right? TIA, - Jim
_
_
_
_
_
_
_
_
_
_
Back to
Seekers of Perl Wisdom
|
|