Re: [rt.cpan.org #20528] Module-Build installs into wrong location with bleadperl

2007-10-16 Thread Eric Wilhelm
# from Ken Williams # on Monday 15 October 2007 20:13: I recently had half-a-go at adding a fourth alternative besides 'core', 'site', and 'vendor', called 'auto'. It would sense whether the given module was currently installed in a core lib, and if so would choose 'core'. Otherwise

Re: [rt.cpan.org #20528] Module-Build installs into wrong location with bleadperl

2007-10-16 Thread demerphq
On 10/16/07, Michael G Schwern [EMAIL PROTECTED] wrote: Ken Williams wrote: On Oct 15, 2007, at 7:14 PM, Michael G Schwern wrote: Eric Wilhelm wrote: Hi all, Steve is proposing that we add the following parameter to Build.PL installdirs = ($] = 5.009004 ? 'core' : 'site'),

Re: [rt.cpan.org #20528] Module-Build installs into wrong location with bleadperl

2007-10-16 Thread Michael G Schwern
demerphq wrote: Of course, the real problem is our default @INC order is backwards. It should be site, vendor, core not core, site, vendor. Isnt the reason security? Although I am surprised that vendor is after site. How does security enter into it? Locally installed modules (site) trump

Re: [rt.cpan.org #20528] Module-Build installs into wrong location with bleadperl

2007-10-16 Thread demerphq
On 10/16/07, Michael G Schwern [EMAIL PROTECTED] wrote: demerphq wrote: Of course, the real problem is our default @INC order is backwards. It should be site, vendor, core not core, site, vendor. Isnt the reason security? Although I am surprised that vendor is after site. How does

Re: [rt.cpan.org #20528] Module-Build installs into wrong location with bleadperl

2007-10-16 Thread demerphq
On 10/16/07, Michael G Schwern [EMAIL PROTECTED] wrote: demerphq wrote: On 10/16/07, Michael G Schwern [EMAIL PROTECTED] wrote: demerphq wrote: Of course, the real problem is our default @INC order is backwards. It should be site, vendor, core not core, site, vendor. Isnt the reason

Re: [rt.cpan.org #20528] Module-Build installs into wrong location with bleadperl

2007-10-16 Thread Eric Wilhelm
# from Michael G Schwern # on Tuesday 16 October 2007 05:07: Of course, the real problem is our default @INC order is backwards.  It should be site, vendor, core not core, site, vendor. I guess Debian reached that conclusion long ago.

Re: [rt.cpan.org #20528] Module-Build installs into wrong location with bleadperl

2007-10-16 Thread Michael G Schwern
Eric Wilhelm wrote: # from Michael G Schwern # on Tuesday 16 October 2007 05:07: Of course, the real problem is our default @INC order is backwards. It should be site, vendor, core not core, site, vendor. I guess Debian reached that conclusion long ago.

Re: Fwd: [rt.cpan.org #20528] Module-Build installs into wrong location with bleadperl

2007-10-15 Thread Michael G Schwern
Eric Wilhelm wrote: Hi all, Steve is proposing that we add the following parameter to Build.PL installdirs = ($] = 5.009004 ? 'core' : 'site'), Is that the preferred way of handling this? Yes. -- The interface should be as clean as newly fallen snow and its behavior as explicit as

Re: [rt.cpan.org #20528] Module-Build installs into wrong location with bleadperl

2007-10-15 Thread Ken Williams
On Oct 15, 2007, at 7:14 PM, Michael G Schwern wrote: Eric Wilhelm wrote: Hi all, Steve is proposing that we add the following parameter to Build.PL installdirs = ($] = 5.009004 ? 'core' : 'site'), Is that the preferred way of handling this? Yes. I recently had half-a-go at adding a