in reply to Re: Using File::Find to create a hash of directory structure.
in thread Using File::Find to create a hash of directory structure.

I'm sorry -- I thought my question was obvious.

In my attempt to figure out how to create the hash of the directory structure, I'm not happy with how the hash is created. As I'm a novice to perl, I was wondering:

  • What do those two lines do?
  • How does the hash %root get populated?
  • What suggestions do you have to achieve my goal?

    In an attempt for brevity, the two lines in question, the code and output examples can be referenced in the original post.

    • Comment on Re^2: Using File::Find to create a hash of directory structure.