Help for this page

Select Code to Download


  1. or download this
    while ($line1 =<F1> || $line2= <F2>){
      foo($line1,$line2);
    }
    
  2. or download this
      local $/ ;
      while (1) {
    ...
        last if (!defined($line1) && !defined($line2)) ;
        foo($line1, $line2) ;
      } ;