Help for this page

Select Code to Download


  1. or download this
    @files = glob "*.c";  # glob uses shell-like wildcards
    
  2. or download this
    opendir DIRHANDLE, "." or die "couldn't open directory .";
    @files = readdir DIRHANDLE;
    closedir DIRHANDLE;
    
  3. or download this
    @files = grep -f && 3 > -M, @files;