Help for this page

Select Code to Download


  1. or download this
    foreach my $file (@files) {
        next unless -f "$directory/$file";
        open my $fh, '<', "$directory/$file" or die "Open failed on $file:
    + $!";
        while (<$fh>) {
            next if /^\s$/;        # skip blank lines