develooper Front page | perl.perl5.porters | Postings from March 2013

[perl #116479] supply patches to upstream to fix install location

Thread Previous | Thread Next
Ricardo SIGNES via RT
March 2, 2013 02:54
[perl #116479] supply patches to upstream to fix install location
Message ID:
* Jim wrote:
> I read that as saying, "Install into 'perl', not 'site'."  Can anyone
> clarify?

Jim, your reading is correct.

Storable entered core in 5.7.3, when core modules still had to install to "perl" to replace old 
versions from core.  That's why the line says:

  INSTALLDIRS => $] >= 5.007 ? 'perl' : 'site',

It's saying, "If you're installing me on a perl that had me in core, you better install over that 

The need to install "over" the core's copy in the "perl" dirs was eliminated in 5.12.0 by the "@INC 
reorganization."  After that, site came first, so normal installs work.  The upper bound on 
installing to 'perl' instead of 'site' should be  5.12.0, exclusive.  So the Storable INSTALLDIRS 
should be:

    INSTALLDIRS => ($] >= 5.007 && $] < 5.012) ? 'perl' : 'site',


via perlbug:  queue: perl5 status: open

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About