Next Program Repair Shop 198

Variable use immediately follows assignment

      @files = grep { /^$key\./i } @all_files;
      foreach (@files) {
        unlink("$dir/$_") || &err("can't delete $_ : $!");
      }
      foreach (grep { /^$key\./i } @all_files) {
        unlink("$dir/$_") || &err("can't delete $_ : $!");
      }


Next Copyright © 2002 M. J. Dominus