Re: List of directories within a directory
- From: Al Moodie <nospam@xxxxxxxxxx>
- Date: Wed, 30 Jan 2008 09:58:56 -0500
On Wed, 30 Jan 2008 04:36:32 GMT, Jürgen Exner <jurgenex@xxxxxxxxxxx>
wrote:
Al Moodie <nospam@xxxxxxxxxx> wrote:
I have a directory with 200 sub directories in it. How do I create a
list of the sub directory names?
Didn't I just read exactly the same question from a name sake of yours in a
different NG? You may want to read up on the difference between
cross-posting (which is rarely appropriate) and multi-posting (which is
never justified).
Same answer as there: I would use File::Find and prune at a depth of 2.
jue
Sorry, it seemed to me that comp.lang.perl was inactive, hence to
second post here. Now that I know comp.lang.perl.misc it will not
happen again.
Al Moodie.
.
- References:
- List of directories within a directory
- From: Al Moodie
- Re: List of directories within a directory
- From: Jürgen Exner
- List of directories within a directory
- Prev by Date: Re: Can't call NEXT::f from B::g
- Next by Date: Re: "negative" regexp
- Previous by thread: Re: List of directories within a directory
- Next by thread: FAQ 8.40 How do I avoid zombies on a Unix system?
- Index(es):
Relevant Pages
|
|