I sometimes link to the CPAN dependencies service, and would like to have a link shortcut to it.

Maybe [deps://Test::Exception] could link to http://cpandeps.cantrell.org.uk/?module=Test::Exception, with a link text of Test::Exception dependencies; [deps://] would of course link to the start page.

I'm open to other suggestions of what the shortcut and link text could be.

(In a more advanced version one could set OS and/or perl version preferences in the Settings somewhere, and the links could be customized this way; but that's probably overkill, the simple links are IMHO a very good start).

Replies are listed 'Best First'.
Re: Request for link shortcut: CPAN Dependencies
by DrHyde (Prior) on Sep 10, 2008 at 10:45 UTC

    The canonical hostname is deps.cpantesters.org, not cpandeps.cantrell.org.uk. That way, even if I stop running the service for whatever reason, someone else can take over without me still having to do DNS.

    Update: and another thing - you probably want to pass 'perl=latest' in the URL, like search.cpan.org does.

Re: Request for link shortcut: CPAN Dependencies
by Anonymous Monk on Sep 10, 2008 at 08:22 UTC
    how about just [dep://]?
Re: Request for link shortcut: CPAN Dependencies
by jdporter (Paladin) on Sep 10, 2008 at 11:41 UTC

    If you link to a module using [mod://], its dependencies are just a single click away.

      So? Likewise linking to a user makes his writeups only one click away, we still have the [by://] shortcut.

      Asking the other way: is there any reason not to implement [dep://] or [deps://] some brave soul contributed code and documentation?

        Good question. I don't know how the gods feel about it, but I personally believe that an unrestrained proliferation of shortcut types is not in our best interest; and a request for one from a single user isn't, by itself, sufficient justification for it, precedents not withstanding.

        we still have the [by://] shortcut

        Yeah.... I would have cast my (moot) vote against that too, probably. (Although it sounds rather hypocritical of me to say that, since I wrote the patch which implemented the [by://] scheme...)

        Between the mind which plans and the hands which build, there must be a mediator... and this mediator must be the heart.