Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Linking to perldoc or man page

by jmlynesjr (Hermit)
on Oct 22, 2012 at 01:23 UTC ( #1000253=monkdiscuss: print w/replies, xml ) Need Help??

If I open a terminal window and type perldoc Wx or man Wx, I get a usage information screen for wxPerl. I wanted to link to this information in a prior post and none of the methods discussed below did what I needed. Can these files be linked to(assuming you have Wx installed)?


Markup in the Monastery then What shortcuts can I use for linking to other information?

[doc://Wx] Wx gives Not Found

[mod://Wx] Wx gives the CPAN Wx page

[man://Wx] Wx gives the freebsd search page

Replies are listed 'Best First'.
Re: Linking to perldoc or man page
by thomas895 (Chaplain) on Oct 22, 2012 at 04:23 UTC

    While the shortcuts can be misleading, it is quite obvious in the What shortcuts can I use for linking to other information? that these link to the Perl core docs, the CPAN module docs, and the man search, respectively.
    Wx is not a core module, nor will it become one anytime soon. Therefore, the [doc://Wx] will never work. Instead, to link to a module on CPAN, use the [cpan://Wx] instead.

    "Excuse me for butting in, but I'm interrupt-driven..."

      Thomas, thanks. That's what I figured, but thought I would ask anyway. My local docs aren't going to be your local docs.....James

Re: Linking to perldoc or man page
by jdporter (Canon) on Oct 22, 2012 at 21:01 UTC

    It doesn't make any sense at all to link to yours or anyone else's local documentation.

    If the Wx module doco isn't what you want, then perhaps the Wx distro doco is closer. ([dist://Wx])

    I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.

      I was trying to avoid cutting and pasting my local Wx documentation into my post...lazy. Have since cut and pasted into my POD instead.

      Thanks again for the feedback. James

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://1000253]
Approved by Athanasius
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2018-08-14 10:44 GMT
Find Nodes?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:

    Results (148 votes). Check out past polls.