Help for this page

Select Code to Download


  1. or download this
    $/ = "\n";
    my $count;
    open (FH, "myfile.text") || die "Cannot open file: $!";
    $count++ foreach (<FH>);
    close FH;