Help for this page

Select Code to Download


  1. or download this
    @canBeRead = select->can_read(); 
    foreach $elem (@canBeRead) { 
        $elem->getline();
    }
    
  2. or download this
    $th1 = threads->create('foo',$firstFD);
    $th2 = threads->create('foo',$secondFD);
    ...
      my $fh = shift;
      use the $fh to read from the file.
    }