Help for this page

Select Code to Download


  1. or download this
    # starting the application
    my $handle = start \@args, \$in, \$out, \$err;
    
  2. or download this
    my ($in, $out, $err);
    for($in,$out,$err) { $_ = \my $x }
    ...
    $client_descr->{"In"}     = $in;
    $client_descr->{"Out"}    = $out;
    $client_descr->{"Err"}    = $err;
    
  3. or download this
    $in .= "new data\n";
    pump $handle until $$out =~ /data arrived:/; # note the dereferencing 
    +- $$out
    print $$out;
    
  4. or download this
    $client_descr->{"Handle"} = $handle;
    $client_descr->{"In"}     = \$in;
    ...
    $in .= "new data\n";
    pump $handle until $$out =~ /data arrived:/; # note the dereferencing 
    +- $$out
    print $$out;