hkoza has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to search for directories within a given directory.
If I use the following, then it only returns me the files within a directory:
I am supposed to write a function where I could pass the directory name and it will return a list of directories within..parse_dir(`ls -l`)
Originally posted as a Categorized Question.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How do I find directories within directories using : parse_dir(`ls -l`)
by japhy (Canon) on Aug 31, 2001 at 06:28 UTC | |
Re: How do I find directories within directories using : parse_dir(`ls -l`)
by toolic (Bishop) on Aug 15, 2009 at 18:14 UTC | |
Re: How do I find directories within directories using : parse_dir(`ls -l`)
by RhetTbull (Curate) on Aug 31, 2001 at 19:13 UTC | |
Re: How do I find directories within directories using : parse_dir(`ls -l`)
by Codmate (Novice) on Mar 12, 2003 at 18:09 UTC | |
by jasonk (Parson) on Mar 12, 2003 at 18:18 UTC | |
by Codmate (Novice) on Mar 13, 2003 at 15:34 UTC | |
Re: How do I find directories within directories using : parse_dir(`ls -l`)
by toolic (Bishop) on Aug 15, 2009 at 17:50 UTC |
Back to
Seekers of Perl Wisdom