Help for this page

Select Code to Download


  1. or download this
    open (DATAFILE3, $prog);
    @lines = <DATAFILE3>;
    ...
    
    $lines[76] =~ s/^(\S+\s+\S+).*/$1/;
    print "$lines[76]><br>\n"
    
  2. or download this
    open (DATAFILE3, $prog);
    while (<DATAFILE3>) {
    ...
    # $line has the 76th line, do your stuff now.
    
    close(DATAFILE3);