Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Reading partial lines/strings from a pipe

by slightly72 (Initiate)
on Oct 10, 2007 at 17:46 UTC ( #644041=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use IO::Handle;<br>
    my ($wrt, $rdr) = (IO::Handle->new(), IO::Handle->new());
    my $procid = open2($wrt, $rdr, $server_command_line);
    
  2. or download this
    while (1) {
      if (there_is_something_to_read($rdr)) {
        $reply = get_everything_from_the_pipe($rdr);
        last;
      }
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (14)
As of 2014-09-19 08:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (133 votes), past polls