Help for this page

Select Code to Download


  1. or download this
    while ( <$handles[ 3 ]> ) {
      # do something with last line read
    }
    
  2. or download this
    while ( defined( my $line = $handles[ 3 ]->getline ) ) {
      # do something with $line
    }
    
  3. or download this
    frobnicate( $handles[ 3 ]->getline ) until $handles[ 3 ]->eof;
    
  4. or download this
    my $tmp = $handles[ 3 ];
    while ( <$tmp> ) {
      # go crazy
    }