Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: propose updating node about linking to cpan modules

by kcott (Abbot)
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


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

      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?
        لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

      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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (15)
As of 2015-07-06 20:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (83 votes), past polls