in reply to listing all subdirectories of directory into file
A slightly simpler approach than jdrago999's above is to use these built-in perl functions to achieve your objective:
You will need to use the "-d" and "-f" operators to distinguish between directory names and file names. See -X for information on this.
I hope life isn't a big joke, because I don't get it.
-SNL
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: listing all subdirectories of directory into file
by sauoq (Abbot) on May 25, 2012 at 22:17 UTC | |
by NetWallah (Canon) on May 26, 2012 at 04:55 UTC | |
by sauoq (Abbot) on May 26, 2012 at 06:38 UTC | |
by aaron_baugher (Curate) on May 26, 2012 at 16:39 UTC | |
by jdrago999 (Pilgrim) on Jun 08, 2012 at 17:23 UTC | |
by aaron_baugher (Curate) on Jun 08, 2012 at 22:35 UTC |