On Thu, Jul 25, 2013 at 2:15 PM, Christophe Martin
<christophe.mar...@gmx.com> wrote:
> Hello,
>
> Le 24/07/13 20:29, Luca Ferrari a écrit :
>> On Wed, Jul 24, 2013 at 2:28 PM, Christophe Martin
>> <christophe.mar...@gmx.com> 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?

Luca

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to