in reply to Opening every directory in the current directory
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Opening every directory in the current directory
by runrig (Abbot) on Feb 10, 2001 at 02:53 UTC |