In this case, the OS is ready to communicate to you that you can't read from a write-only handle.
Ikegami, could you by any chance point me to documentation that explains what you're talking about, here? The more I think about it, the less sense it makes, and I'm dying for a doc that just tells me how this system works. I don't even know what "system" I'm talking about, here! :-)
I mean, it seems to me I tell IO::Select to watch these two file handles, one of which has been specified as the STDOUT filehandle for the child process--I just can't grasp how that filehandle should ever show up in can_read().
I know I'm wrong, but I'd like to get properly educated on the subject--I feel like I'm stabbing in the dark, still, know what I mean?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.