Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^4: CPAN namespace hierarchy

by GrandFather (Saint)
on Jan 25, 2021 at 01:14 UTC ( #11127424=note: print w/replies, xml ) Need Help??


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 (Cardinal) 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 (Chancellor) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11127424]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2021-04-10 14:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?