...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
In reply to Re: About [doc://] and [perldoc://]
by davido
in thread About [doc://] and [perldoc://]
by blazar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |