francesca has asked for the wisdom of the Perl Monks concerning the following question:
When I use "opendir" to open a directory, I can get all the file names in that directory by using "readdir". But how can I get the names of the sub-directories, and store them into variables?
Thank you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to get the names of sub-directory in a directory?
by Kanji (Parson) on Feb 01, 2002 at 13:28 UTC | |
|
Re: How to get the names of sub-directory in a directory?
by strat (Canon) on Feb 01, 2002 at 13:33 UTC | |
by japhy (Canon) on Feb 01, 2002 at 14:48 UTC | |
|
Re: How to get the names of sub-directory in a directory?
by tachyon (Chancellor) on Feb 01, 2002 at 13:42 UTC | |
|
Re: How to get the names of sub-directory in a directory?
by George_Sherston (Vicar) on Feb 01, 2002 at 15:04 UTC |