Help for this page

Select Code to Download


  1. or download this
    my $file;
    open($file, '<', $path) or die "Can't open file $path: $!";
    while (my $line = <$file>)
    ...
      ...
    }
    close($file);