http://qs321.pair.com?node_id=11127424


in reply to Re^3: CPAN namespace hierarchy
in thread CPAN namespace hierarchy

In the end I found https://www.cpan.org/modules/02packages.details.txt.gz which contains a list of CPAN packages - about 250000 entries. I opened the contained text file in an editor and searched for ELF. Turns out there aren't many entries. Some sort of tree/folding representation wouldn't actually have helped very much as it turns out.

Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond

Replies are listed 'Best First'.
Re^5: CPAN namespace hierarchy
by LanX (Saint) on Jan 25, 2021 at 01:24 UTC
    > Some sort of tree/folding representation wouldn't actually have helped very much as it turns out.

    The question is, would it have helped others? IOW is there a need?

    > Turns out there aren't many entries.

    Well ... searching CPAN for ELF is easy.

    I'm still puzzled what the tree view should display ...

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

      My original thought was to look for likely places an ELF reader module might fit in the CPAN namespace hierarchy so a tree browser that started with everything below the top level namespaces collapsed made some sense. I guess my mind blocked out the top level ELF namespace as being inappropriate at that level - even though I knew it was there from the simple search you mentioned.

      There is Discipulus's prior art for searching CPAN packages so maybe I don't need to reinvent that wheel? :-)

      Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
Re^5: CPAN namespace hierarchy
by Fletch (Bishop) on Jan 25, 2021 at 14:40 UTC

    I wonder if you couldn't (pre-)process that into JSON that you could then drive a d3 treemap pretty quickly.

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.