Help for this page

Select Code to Download


  1. or download this
    while (my $line = <$file>) {
        chomp $line; # remove trailing end of line character
    ...
            }
        }
    }
    
  2. or download this
    LINE: while (my $line = <$file>) {
        chomp $line;
    ...
        }
        print $line, "\n";
    }