Help for this page

Select Code to Download


  1. or download this
    for ( 1 .. $i ) {
       my $line = `head -$_ $filename | tail -1`;
       print $line;
    }
    
  2. or download this
    my $line;
    my $ln = 0;
    ...
    } close FILE;
    $_ = $tmp;
    }