Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Interprocess pipe doesn't reliably deliver data

by bluto (Curate)
on Mar 16, 2006 at 18:20 UTC ( #537237=note: print w/ replies, xml ) Need Help??


in reply to Interprocess pipe doesn't reliably deliver data

can_read() may be just telling you that you need to empty the pipe of data. Also, you may want to use sysread() instead of <...>. From the select perldocs...

WARNING: One should not attempt to mix buffered I/O (like "read" or <FH>) with "select", except as permitted by POSIX, and even then only on POSIX systems. You have to use "sysread" instead.


Comment on Re: Interprocess pipe doesn't reliably deliver data
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://537237]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2015-07-06 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (74 votes), past polls