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

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

Thread Previous | Thread Next
From:
Ricardo SIGNES via RT
Date:
March 2, 2013 02:54
Subject:
[perl #116479] supply patches to upstream to fix install location
Message ID:
rt-3.6.HEAD-28177-1362192846-16.116479-15-0@perl.org
* 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 
version."

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',

-- 
rjbs

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=116479

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About