Eric Wilhelm wrote:
# 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.

Mass education is not necessary, it's something the vendor can (and do) take care of. Module::Build is a bit of a problem because most vendors are shipping a stock 5.8.8 which comes with a CPAN.pm that doesn't understand Module::Build, so they're not setting --installdirs=site as the default, but that will be fixed with time.


--
Look at me talking when there's science to do.
When I look out there it makes me glad I'm not you.
I've experiments to be run.
There is research to be done
On the people who are still alive.
    -- Jonathan Coulton, "Still Alive"

Reply via email to