This has already existed for about a year or more. See pip's .p5i file (which I think cpanminus also supports).
Adam K On Fri, Apr 16, 2010 at 12:56 AM, Curtis Jewell <lists.perl.cpan-work...@csjewell.fastmail.us> wrote: > Why don't we make the .cpan/.c6pan file (.c6pan) a JSON file, generated > by PAUSE once the tarball is uploaded, with whatever information is > required (a reference to the tarball, what version of perl is required, > etc.) in order, when that file is passed to a CPAN client, to download > and install the tarball. > > I don't see why a "double-clickable" file (or what-have-you equivalent) > necessarily has to be the distribution tarball? > > That way, the tarball can keep its extension... best of both worlds yet?