Relocatable @INC puzzle

Paul Makepeace paulm at
Tue Jul 13 18:39:55 BST 2010

I might be misunderstanding the purpose of this...

I just built perl 5.12.1 with relocatable @INC but when I relocate (mv
~/perl5 ~/perl) the site_perl directories haven't moved, so CPAN

  Compiled at Jul 12 2010 23:52:59

Rationale: I'm hoping to be able to build a perl that's completely
self-contained that I can then bundle as part of an app/git checkout.
The various developers will all be working with this on in their own
home directories so this perl needs an @INC that's entirely relative.

I can sort of see that there's an argument that moving the perl
shouldn't move the CPAN but wondering if there's an official line, or
this is a bug, or currently under discussion, and what the preferred
way to solve this is (local::lib?), ...


More information about the mailing list