Hello!

I am not sure whether this is the right group, so I am
really sorry in case it isn't. Also my English isn't very good,
so I hope you forgive me any mistakes.

With perlbrew and cpanm wouldn't it make sense to create an URI
like:

cpan:Foo::Module

or maybe cpan:Foo-Module, possibly with an optional version
part, like cpan:Foo-Module-0.1 (or cpan:Author/Foo-Module-5).
The browser could associate it with cpanm, which would install
it using just a single click.

Of course such an URI could also be an interface for other
applications. Between the click and installation one could have
an info screen that tells you about stuff like dependencies
that need to be installed or whether it is likely to work on
your platform (cpantesters), etc. A package manager, like apt or
rpm could also use this URI and install a binary.

This would be especially nice for applications. Some time ago I
read about a Java Web Start-like module for Perl. I think this
could be used in a similar way. Wouldn't be great if one could
link something like

cpan:Marc_Lehmann/Deliantra-Client-2.11/deliantra

in a web site, email or via IRC or IMs and it would do
everything that's necessary to play it?

This is really just an idea, possibly nonsense. I just think a
little specification of something like that would possibly cause
some nice projects to come to existence.

Greetings,
Christian

Reply via email to