Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    ...
    }
    
    closedir THISDIR;
    
  2. or download this
    use strict;
    
    ...
    my $i = 0;
    print map { "[". $i++. "] $_\t" } grep { -d $_ } (readdir THISDIR);
    closedir THISDIR;