Help for this page

Select Code to Download


  1. or download this
    foreach my $file (</pathname/*>) {
        if( ($file ne "index.html") && ($file ne ".")
        && ($file ne "..") && ($file ne "cgi-bin") ) {$files = 1}
    }
    
  2. or download this
      my @files = grep(!/^(\.\.?|index\.html|cgi-bin)$/, </pathname/*>);
      if(@files) {
        # send email
      }