|Syntactic Confectionery Delight|
Directory Tree Structureby rupesh (Hermit)
|on Oct 21, 2005 at 09:41 UTC||Need Help??|
rupesh has asked for the
wisdom of the Perl Monks concerning the following question:
I've ran into a small situation and here I am to seek the help of you esteemed.
This is the requirement - to emulate a windows-explorer like directory tree structure (using perl, ofcourse)
Oh, and the directories that we're talking of is from a linux box.
So, considering I have a recursive directory listing in the form like this:
..the output that is required is a kind like this:
I'm finding the making of the unordered list a bit complicated - from the raw data. (Array of arrays, multiple arrays etc.)
And this is only the directories and we aren't listing any files at all.
Any help is appreciated.