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

It looks like an amazing module! Sadly I can't use it because it is not installed (And I can't install new modules on my school project). I'm allowed to use about 500 modules but Data::TreeDumper is not one of them. :(
EDIT: I saw that I have 'Tree::DAG_Node' module. I tried to read the docs but it does not do the format I need.
  • Comment on Re^2: Converting hash structure into a special tree

Replies are listed 'Best First'.
Re^3: Converting hash structure into a special tree
by kschwab (Vicar) on Jan 13, 2019 at 14:46 UTC
      I tried to use that module and the docs are quite good. But it feels like it is not so efficient because I will be using that module and then convert the output to the wanted output. I think that it will be more efficient to create a loop which will reproduce this output, but I'm not so sure. Do you have any other suggestions maybe?
        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.
        I think that it will be more efficient to create a loop which will reproduce this output, but I'm not so sure. Do you have any other suggestions maybe?

        If you want someone to write code for your task, just say so. This is a Monastery, we pray (Update: every 3 hours).

        bw, bliako