On Fri, 26 Jul 2013 08:30:25 +0200, Luca Ferrari wrote:
>On Thu, Jul 25, 2013 at 2:15 PM, Christophe Martin
><[email protected]> wrote:
>>Hello,
>>
>>Le 24/07/13 20:29, Luca Ferrari a écrit :
>>>On Wed, Jul 24, 2013 at 2:28 PM, Christophe Martin
>>><[email protected]> wrote:
>>The question remains. How can I get the name of a/the <<directory
>>name in @INC, not version/arch specific where I can install local
>>modules>> ?
>
>I guess it is not possible. I mean @INC is an array, therefore it has
>not any specific meaning for its entries that can have any order.
>Despite choosing a convention (like keeping the non-arch as
>last/first) or doing introspection on @INC values I guess it is not
>possible. You can use an environment variable.
>Why not customize your installations to have the first/last @INC
>entry
>to point to /usr/local/your-perl/lib?
>
On the off chance that you don't know about PERL5LIB, check
http://preview.tinyurl.com/c2h35h6
(You can control the directories which are in @INC)


--
Peter Gordon, [email protected] on 07/26/2013



--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to