Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: IO::Select - reading multiple lines

by nagalenoj (Friar)
on Jul 14, 2011 at 13:23 UTC ( #914343=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while(@ready = $sel->can_read) {
            if($fh == $lsn) {
    ...
                 }
             }
    }
    
  2. or download this
    while(@ready = $sel->can_read) {
        foreach $fh (@ready) {
    ...
            print $rr;
        }
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2014-12-19 15:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (85 votes), past polls