in reply to Tree::Nary n00b has questions
Still if you wish to persist in this approach, the answer to your first question is that you should learn how to handle references. While you're learning, Data::Dumper may be a good friend. I would handle your second question by turning each entry into a small anonymous hash, and I'd collect an array of those. Then post-process that array. For instance sort it by directory then group that up. (Note that I would not organize it using [cpan://Tree::Nary, but you could if you wanted to.) My first answer to your third question is that you should not be planning on parallelizing your code until after you have a proven performance problem. If you do, then as I said I would organize the data by sorting it first then running some grouping logic on it.
|
|---|