Help for this page

Select Code to Download


  1. or download this
    open(my $fh, '<', $file) or die("Can not open file $file to read!\n");
    while(<$fh>) {
    ...
    }
    print "\n# of lines: $.\n";
    close($fh);