Re: Auto installdirs

[email protected] (Eric Wilhelm)
Newsgroups perl.module.build
Message-ID <[email protected]>
# from Ken Williams
# on Thursday 06 March 2008 18:22:

>  INSTALLDIRS   => ($] >= 5.009004 ? 'perl' : 'site'),  #C
>
>Now, does that do everything we'd want?

No, it still does the wrong thing whenever site and vendor are in the 
right order.

# from Michael G Schwern
# on Wednesday 27 February 2008 12:40:

>>>   3.  dual-life modules have a habit of doing the wrong thing on
>>> debian
>>
>>They should be setting INSTALLDIRS=site and --installdirs=site in
>> their CPAN shell configurations.  That would solve the problem.  I
>> believe they do, at least in the default configurations.

I think this still falls into the "mass education" category, so if we're 
going to have a method, it should check @INC and just use site if site 
has precedence.

--Eric
-- 
"...the bourgeoisie were hated from both ends: by the proles, because
they had all the money, and by the intelligentsia, because of their
tendency to spend it on lawn ornaments."
--Neal Stephenson
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.