Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: propose updating node about linking to cpan modules

by kcott (Chancellor)
on Apr 17, 2014 at 00:14 UTC ( #1082575=note: print w/replies, xml ) Need Help??

in reply to propose updating node about linking to cpan modules

G'day Lotus1,

That's not a page I've used much (if at all); however; here's some thoughts on your proposal.

How do I link to modules on CPAN?

Instead of just changing what's already there, I think adding more link types might be a better way to go.

So: keep [cpan://...]; add [mod://...]; maybe add [dist://...]; and consider adding some or all of the other 10 link types shown in the CPAN section of the Shortcuts page.

What shortcuts can I use for linking to other information?

I've always considered this to be a rather wordy node title. Furthermore, I don't really think it truly reflects the node's contents.

Although it says "shortcuts", this is actually the preferred markup for all links.

I agree the "other information" part suggests something other than what was originally intended: in your case, it suggests "other than CPAN"; elsewhere, it might suggest "external links".

Perhaps "How do I add a link to my post?" might be a better choice. This uses the same format as many of the links in "Posting on PerlMonks" (e.g. "How do I change/delete my post?"); in fact, it would probably be a useful addition to that page.

[In the interests of full disclosure, I will admit that, in order to get the "CPAN section of the Shortcuts page" link above, I needed to use: <a href="?node_id=43037#cpan">CPAN section of the Shortcuts page</a>. A [...] style link could not achieve this (or, at least, I couldn't find any way to do it, either by experimentation or documentation).]

-- Ken

Replies are listed 'Best First'.
Re^2: propose updating node about linking to cpan modules
by choroba (Bishop) on Apr 17, 2014 at 10:10 UTC
    A [...] style link could not achieve this
    [href://?node_id=43037#cpan] -> ?node_id=43037#cpan
    لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

      Thanks, and I see it is documented in Shortcuts: General-Purpose Linking (markup: [href://?node_id=43037#general|Shortcuts: General-Purpose Linking]).

      As tye indicated earlier, a fix such that [id://43037#general|...] works the same would be good.

      -- Ken

      And did you actually test the link that you produced?

      - tye        

        It leads to the same page as the link in the node I replied to. Or, does it work differently for you?
        لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1082575]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2017-12-12 10:42 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (329 votes). Check out past polls.