Help for this page

Select Code to Download


  1. or download this
    while(...)
    {
         my $nextline = <IN>
         .....
    }
    
  2. or download this
    my $nextline = <IN>;
    while($nextline eq '')
    ...
          $nextline = <IN>;
          print"Nextline is empty\n";
    }
    
  3. or download this
    ...
    if($nextline ne '')
    {
         last;
    }
    ...