I understand vaguely supporting PREFIX has become hairy. What I don't understand is, what are the best practices to deal with the situation.
in reply to Re: What are the "prefix" and "lib" arguments to makefile.pl used for?
in thread What are the "prefix" and "lib" arguments to makefile.pl used for?
Is tinita's suggestion of using LIB and PREFIX together a best practice for installing modules locally?
Will this ever fail?
If yes, when will if fail?
If no (ie, it shouldn't ever fail), shouldn't the documentation for installing perl modules locally be patched to mention this?
More concretely: if there's a scenario like the one you
mentioned, where LIB is calculated from PREFIX, but the PREFIX value was also specified to Makefile.PL, which value will ultimately wind up being used?