Help for this page

Select Code to Download


  1. or download this
    my @files = grep(-f, <*.*>);
    
    ...
    {
     print "file = $file\n";
    }
    
  2. or download this
    my @files = glob("/opt/tmp/*.*");
    
    ...
    {
     print "file = $file\n";
    }
    
  3. or download this
    my @files;
    
    ...
    }
    
    closedir(DIR);