Help for this page

Select Code to Download


  1. or download this
    $data = '';
    $data .= $buffer while sysread( $fh, $buffer, 1 ) and $buffer ne "\n";
    
  2. or download this
    die "Can't write to server!\n" unless $server->can_write
    syswrite($sock, "$data\n" );
    
  3. or download this
    if ( $client->can_write ) { 
      syswrite( $fh, "$data\n" );
    }
    
  4. or download this
    #! /usr/bin/perl -w
    use strict;
    ...
    }
    
    $poe_kernel->run();