http://www.perlmonks.org?node_id=1228477


in reply to Re^4: Converting hash structure into a special tree
in thread Converting hash structure into a special tree

Hard to say, as I can't really tell what your program is doing from top to bottom. It feels like maybe you're making a Perl equivalent to fuser or lsof. It may be, for example, faster overall to process on the fly versus parsing a bunch of things into a structure first.
  • Comment on Re^5: Converting hash structure into a special tree

Replies are listed 'Best First'.
Re^6: Converting hash structure into a special tree
by ovedpo15 (Pilgrim) on Jan 13, 2019 at 17:53 UTC
    Maybe one of those modules can help:
    Forest::Tree, Archive::Zip::Tree, Tk::TreeGraph, Tk::CanvasDirTree, Tk::TreeGraph, XML::Parser::EasyTree
    Tried to check the DOCS but it looks that they can't help.