Help for this page

Select Code to Download


  1. or download this
    sub delfiles {
      my $count = unlink @files;
      print "number of files deleted: $count\n";
    }
    
  2. or download this
    sub delfiles {
      for my $path (@files) {
        unlink $file;
      }
    }