Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

cpan.org ToC display disparity

by stevieb (Canon)
on Mar 28, 2023 at 07:35 UTC ( [id://11151274]=perlquestion: print w/replies, xml ) Need Help??

stevieb has asked for the wisdom of the Perl Monks concerning the following question:

I might be imagining things, but I'm sure that in the past, when I went to look up a module on cpan.org that I'd have a table of contents that contained a module's functions/methods list within a link/URL format, all nice and neat in order.

I don't see that now. Have things changed?

Something just doesn't seem the same as I'm used to. I would swear that in the past, I'd be able to go to one of my own distribution's CPAN pages and reference a function at the top of the ToC, click on it, and dive right into the definition. I'm certain I've used this type of reference for my own, and many others' work.

Am I mistaken?

-stevieb

Replies are listed 'Best First'.
Re: cpan.org ToC display disparity
by soonix (Canon) on Mar 28, 2023 at 08:38 UTC
    Update to previous post: Looks like "size matters". If I resize the desktop browser window, the ToC disappears as soon as the content part needs a certain threshold of the column space. On mobile that threshold seems to be reached even in landscape mode...
Re: cpan.org ToC display disparity
by soonix (Canon) on Mar 28, 2023 at 08:29 UTC
    On the desktop, e.g. DBI, shows me the ToC on the right hand side, with a [hide] link. On mobile, this same Toc shortly appears and then disappears. I haven't found (yet) how to unhide it on mobile - not even by switching to "Desktop Website"...
Re: cpan.org ToC display disparity
by Anonymous Monk on Mar 28, 2023 at 10:00 UTC
Re: cpan.org ToC display disparity
by kcott (Archbishop) on Mar 28, 2023 at 08:33 UTC
Re: cpan.org ToC display disparity
by Anonymous Monk on Mar 28, 2023 at 09:46 UTC
    I might be imagining things, but I'm sure that in the past, when I went to look up a module on cpan.org that I'd have a table of contents that contained a module's functions/methods list within a link/URL format, all nice and neat in order.

    I remember complaining about that like 5 years ago when search.cpan.org became metacpan. On the old cpan the table of contents of a pod was embedded in the same logical fixed location. The metacpan puts the toc in different places depending on canvas size and sometimes it even disappears! This is all by design, bad web design...

[SOLVED] Re: cpan.org ToC display disparity
by stevieb (Canon) on Mar 28, 2023 at 12:59 UTC

    I'm getting old, and my eyesight isn't what it used to be, so apparently on my Macbook, I enlarged the text of the page at some point, so I could read it. Decreasing the font size by one on the MetaCPAN page allowed the function list to appear on the right side of the page as mentioned by soonix.

      There was a time not too long ago when the TOC used to appear at the top of the page (e.g. archive snapshot). I remember thinking it had been removed when they changed it to appear on the right-hand side (where I wouldn't normally look for it).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11151274]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-23 07:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found