Help for this page

Select Code to Download


  1. or download this
    for (readdir DIR) {
      next if $_ eq '.' or $_ eq '..';
      next unless -d $base . '/' . $_ or -f _;
      push @{ -d $base . '/' . $_ ? \@dirs : \@files }, $_;
    }
    
  2. or download this
    .