affc has asked for the wisdom of the Perl Monks concerning the following question:
I have several .mp3 playlists with this general format :
/a/f1.mp3 /a/f2.mp3 /a/b/f1.mp3 /a/b/f2.mp3 /a/b/f3.mp3 /a/c/f1.mp3 /a/c/f2.mp3 /a/c/e/f5.mp3 /a/c/e/f6.mp3 /b/d/f4.mp3 ...
I want to create a table like this (using above notation):
a f1.mp3 f2.mp3 b f1.mp3 f2.mp3 f3.mp3 c f1.mp3 f2.mp3 e f5.mp3 f6.mp3 b d f4.mp3
I'd appreciate any pointers on this. At first glance, I thought of nesting references, but there's variable directory depth here.
Thanks,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Creating table from file lists
by almut (Canon) on Oct 05, 2009 at 16:23 UTC | |
by jakobi (Pilgrim) on Oct 05, 2009 at 16:38 UTC | |
by almut (Canon) on Oct 05, 2009 at 22:17 UTC | |
by jakobi (Pilgrim) on Oct 05, 2009 at 23:02 UTC | |
|
Re: Creating table from file lists
by jakobi (Pilgrim) on Oct 05, 2009 at 15:04 UTC | |
by affc (Scribe) on Oct 05, 2009 at 15:13 UTC | |
|
Re: Creating table from file lists
by mickep76 (Beadle) on Oct 05, 2009 at 15:18 UTC |