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


in reply to Re^4: Bookmarklet to show deeplinks in perldoc.perl.org
in thread Bookmarklet to show deeplinks in perldoc.perl.org

> But I'm not sure this is in fact a problem. open has no URL paths.

IMHO the #hash part for deep-linking to anchors are different

see Re^5: Bookmarklet to show deeplinks in perldoc.perl.org

> I have no idea what that means. Can you clarify? TIA.

Example:

more examples here: Re: Good Intentions: Wikisyntax for the Monastery (https)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Replies are listed 'Best First'.
Re^6: Bookmarklet to show deeplinks in perldoc.perl.org
by jdporter (Paladin) on Jun 18, 2019 at 14:29 UTC
    the #hash part for deep-linking to anchors

    Oh... So you're not talking about path parts. You're talking about fragment parts — URI parts

    So in some sense this is a form of link rot. I think there will always be some risk of this, since we don't have any control over how any external web site manages their anchors — nor indeed their paths — nor indeed even the domain names.

    It's the nature of the beast. People put external links in their posts; ten years later those links don't work. We just have to live with the risk.

    In general, I'd prefer to stay with perldoc.perl.org, since it is "official". I think we'd need a really compelling reason to switch to something else. Like we did with MetaCPAN.

    I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.
      > You're talking about fragment parts — URI parts

      the terminology varies depending on the source. the JS function to extract the fragment is called Location.hash()

      > this is a form of link rot.

      It's also varying with the version ° of perldoc. Strictly speaking we'd need to keep the version information too.

      > In general, I'd prefer to stay with perldoc.perl.org

      I'm fine with this but facilitating deep-linking would help posting ...

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

      °) well better not

      > In general, I'd prefer to stay with perldoc.perl.org, since it is "official"

      Well official is the release, we used to have our own, now totally outdated, copy.

      Like split

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice