Help for this page

Select Code to Download


  1. or download this
    @files = glob("/opt/tmp/*");
    
  2. or download this
    opendir(DIR, "/opt/tmp/") or die "Cannot open dir";
    
    @files = grep {"/opt/tmp/*.xml"} readdir DIR;