On Thu, 31 Mar 2011 00:32:12 +0200, Andreas J. Koenig 
<andreas.koenig.7os6v...@franz.ak.mind.de> wrote:

On Wed, 30 Mar 2011 19:10:28 +0200, "Christian Walde" <mitha...@yahoo.de> said:

  > I'll certainly give it a try, since i have an idea that i believe
  > can work. As for PERL5INC, could you be a bit more specific maybe? I
  > checked out the github repo and couldn't find a trace of such a
  > file, nor any branch hinting at it.

I found it again with

git log -p

and then enter: "/CPAN\/PERL5INC" (without the quotes)

commit 327430cd7f57d421a9e4cba1d708fef4c7e14b12 was the one that removed
the whole idea.


Thanks a lot. I really need to learn more about git. :)

And yeah, that is an interesting approach, but i can see how it would be pretty 
painful to get working reliably.

What i am thinking about is a bit more simplicistic. The sub set_perl5lib is 
responsible for going through the internal is_tested list and prepending its 
contents onto PERL5LIB. What i'd change it to is a function that instead 
creates a temp dir in something like .cpan/build_reuse/******, copies all the 
blibs and archs into that and then prepends that. It's a bit more work 
file-system-wise, but it should be pretty reliable.

(Something else i'd like to solve there is a filtering of which of these dists 
are actually prereqs and which aren't.)

If you have any thoughts on this approach, please let me know. :)

--
With regards,
Christian Walde

Reply via email to