RE: How to have Perl 5 and Perl 6 cohabitate nicely on CPAN

[email protected] ("Jan Dubois")
Newsgroups perl.cpan.workers
Organization ActiveState Software Inc
Message-ID <[email protected]>
On Thu, 15 Apr 2010, Barbie wrote:
> On Thu, Apr 15, 2010 at 12:50:29PM -0700, Jan Dubois wrote:
> >
> > PPM4 actually supports putting the PPD file inside the tarball.  When the
> > tarball is downloaded with a .ppmx extension, then the client knows to
> > extract the .ppd from inside the file and install everything else according
> > to this .ppd file.
> >
> > The big problem with this scheme is though that is doesn't allow you
> > to install prerequisites using this mechanism: You can double-click on
> > a .ppmx file in a web browser and it can be downloaded and installed
> > automatically.  The ppm installer however no longer knows where the file
> > came from, so it cannot look for prerequisites in the same place.
> 
> The last time I used PPM it was able to support multiple repositories,
> in the same way apt or yum does. I also thought it was able to install
> prerequisites from these if a local ppd wasn't found. I'd certainly like
> to see a double-click installer work like that :)

Yes, it certainly downloads prerequisites from the configured repositories.
I was talking about downloading .ppmx files from some random website that
you didn't configure first as a repository in the PPM client.  The double-
clicked file is not able to download additional prerequisites from that
"random website" it came from itself.  Think "private/internal repository
of a bunch of interdependent modules".

Once you have to configure the web site as a repo there isn't much advantage
of installing modules via the browser compare to installing them with the
PPM client:

    ppm repo add random http://random.example.com/repo
    ppm install my-random-module

Cheers,
-Jan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.