Help for this page

Select Code to Download


  1. or download this
    my $line = <$INPUT_FH>;
    $line = <$INPUT_FH>;
    while ($line = <$INPUT_FH>) {
        # process file
    }
    
  2. or download this
    while (my $line = <$INPUT_FH>) {
        # Ignore all lines not beginning with a number
    ...
    
        # process file
    }
    
  3. or download this
    while (my $line = <$INPUT_FH>) {
        # Ignore the header lines
    ...
    
        # process file
    }