Please read the appropriate documentation (perlfunc).opendir DIR, $some_directory or die "can't read $some_directory: $!"; @dirList = grep -d "$some_directory/$_", readdir DIR; closedir DIR;
In reply to Re: Opening every directory in the current directory
by japhy
in thread Opening every directory in the current directory
by DeusVult
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |