Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

canonical way to make stable link to most recent version of CPAN module documentation?

by genehack (Beadle)
on Sep 24, 2008 at 10:39 UTC ( #713393=perlquestion: print w/replies, xml ) Need Help??

genehack has asked for the wisdom of the Perl Monks concerning the following question:

I'd like to link directly to the most recent version of documentation for a particular module -- for example, I'd like to have a link that takes me directly to http://search.cpan.org/~dwheeler/SVN-Notify-2.78/lib/SVN/Notify.pm that will automatically switch over to pointing to SVN::Notify version 2.79 (or greater) once a new release is made.

All the examples I've found on the net (after an admittedly short search) involve linking to search.cpan.org with an embedded query string, but this isn't what I want. I don't want to point to search results, I'd like to point directly to a particular piece of documentation, but always get the most recent version of it.

Is there any standard way of doing this?

  • Comment on canonical way to make stable link to most recent version of CPAN module documentation?

Replies are listed 'Best First'.
Re: canonical way to make stable link to most recent version of CPAN module documentation?
by jettero (Monsignor) on Sep 24, 2008 at 10:43 UTC
      Thank you very much for showing.
      Thanks, that's exactly what I was looking for. (I did know about the [mod:] syntax but this is for my weblog, for instance.)
Re: canonical way to make stable link to most recent version of CPAN module documentation?
by moritz (Cardinal) on Sep 24, 2008 at 14:38 UTC
    Every search.cpan.org documentation page contains the permalink link on the top right corner, which links to something like http://search.cpan.org/perldoc?Test::More.
      Also exactly what I was looking for. Not sure why I overlooked that, actually... thanks.
Re: canonical way to make stable link to most recent version of CPAN module documentation?
by Your Mother (Bishop) on Sep 25, 2008 at 07:00 UTC
Re: canonical way to make stable link to most recent version of CPAN module documentation?
by bingos (Vicar) on Sep 25, 2008 at 08:14 UTC

    If you are trying to link documentation in other modules from your own module's documentation, I've always found that L<SVN::Notify> will DWIM

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2020-10-29 20:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (274 votes). Check out past polls.

    Notices?