in reply to About [doc://] and [perldoc://]

...it seems to me that doc:// only links directly to funcitons...

Not exactly. It works like this: If the document name starts with "perl..." it assumes the document is not a function, but instead a piece of the core POD (but not a module or pragma). If the name doesn't start with "perl..." it assumes it's a function and attempts to link that way instead.

As demerphq mentioned, if you're looking to link to a module or pragma, use [cpan://Modulename].

Examples of proper use of [doc://......] include:


Dave

Replies are listed 'Best First'.
Re^2: About [doc://] and [perldoc://]
by blazar (Canon) on Feb 03, 2005 at 10:08 UTC
    Thank you very much for the further details. Actually I was about to answer that the above referenced portion of the faq is slightly deceiving in that really only functions can be directly linked to. Now I realize that this is not the case, but I have them impression it's still slightly deceiving (even if much more slightly) and that maybe it could be advantageous to pinpoint there the same details hinted to here. Unless they're already there and I'm just missing something obvious...