Looking through the perlmonks markup.. We can use square brackets to link to a node.. And that's cool, you can simply link to a leocharre (user) by ropping them in square brackets.

How about adding syntax to auto link to a module on cpan? Seems extremely useful.. (?).. for example usinng squiggly brackets.. {MODULENAME} would link to at least http://search.cpan.org/search?query=MODULENAME&mode=all ..?

  • Comment on add perlmonks markup to link to cpan modules

Replies are listed 'Best First'.
Re: add perlmonks markup to link to cpan modules
by moritz (Cardinal) on Oct 14, 2009 at 14:15 UTC
      Since he asked about linking to a module, he's looking for [mod://CGI]. [cpan://CGI] does a search for CGI.
        I think i found a bug. [mod://strict#SYNOPSIS] (live test SYNOPSIS of strict) generates strict#SYNOPSIS (  <a href="http://search.cpan.org/perldoc?strict%23SYNOPSIS">strict#SYNOPSIS</a> ) which isn't the same as strict#SYNOPSIS (<a href="http://search.cpan.org/perldoc?strict#SYNOPSIS">strict#SYNOPSIS</a>)

        Thanks