Help for this page

Select Code to Download


  1. or download this
    opendir(D, $dir) or die "unable to read $dir: $!"
    while (defined(my $leaf = readdir(D))) {
    ...
      ...
    }
    closedir(D);