Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: use sysread to read non-blocking filehandle

by Corion (Pope)
on Nov 04, 2014 at 12:56 UTC ( #1106021=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while ($bytes_read) {
        my $buf;
        $bytes_read = sysread($out, $buf, $blocksize);
        ...
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2020-11-29 20:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?