in reply to Re: treemap
in thread treemap

Directory tree is an intriguing subject. It looks like an instance of the Composite pattern - nodes are simple nodes (files) and collections (directories).
I had a go at mapping a dirtree to a tree of hashes, in How to map a directory tree to a perl hash tree and had good advice on how to improve it.
Do you think that a Perl package would be useful? What methods would you suggest? Should it Tie to the file system?

Rudif