On Wed, Aug 6, Steve Grazzini wrote: > On Tue, Aug 05, 2003 at 08:27:13PM -0700, Robert Spier wrote: > > > The answer for "How do I keep my own module/library directory?" > > > seems to be out-of-date: > > > When you build modules, use the PREFIX option when generating > > > Makefiles: > > > So I've changed the answer to suggest "LIB=" instead. > > > (Better suggestions welcome.) > > > > LIB and PREFIX do different, if related things. See perldoc > > ExtUtils::MakeMaker for an explanation.
OK, but all that I'm asking for is an FAQ recipe which works as advertised. The present one doesn't work (i.e Perl still fails to find the module): assuming that it _did_ once work, at some earlier release, I don't know just when it stopped and why. > The problem with the current answer isn't that it suggests building > with PREFIX -- which might be a reasonable suggestion -- but that it > gives a broken example of how PREFIX and 'use lib' fit together. Yes, agreed, that was just my point. > Same problem is in perlmodinstall, actually. They both use the same > path for PREFIX and 'use lib'. So they do! This question comes up, often enough, and I realise now that on several occasions in the past I've unthinkingly pointed questioners to the FAQ, not realising that it's going to cause them problems. I really _would_ like for there to be a generally-agreed working FAQ recipe for this. One possible approach would be to fix the code so that it behaves as documented: but there'd still be lots of older Perls out there that wouldn't be performing to this spec, so I guess we +do+ still need the FAQ to give a recipe that works with the code versions that are out there. Cheers
