Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

IO::Socket::INET->getline() function

by akagrawal3 (Beadle)
on Apr 27, 2012 at 09:13 UTC ( [id://967561]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (my $line = $socket->getline() ) {
                         chomp $line;
                         print {$file_handle} $line;
                     }
    
  2. or download this
    foreach my $child (@hosts) {
    
    ...
                     push @children, $pid;
                 }
             }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://967561]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-04-25 11:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found