adam@phase-n.com via RT wrote:
Show quoted text> As for how to fix this, the plan I'd had in mind was to get
> Module::Install aware internally of whether or not it's running in
> author mode or user module, and make the load_extenstions stuff only
> check in the right group of directories for extensions.
I wish you luck on this since I cannot think of a way to determine whether you
are running as author or user, unless you require the author to add an explicit
commandline option.
Thinking aloud, if prior to running 'make dist' the contents of the './inc'
directory were absent, then author mode could be assumed. But that would also
mean that 'make distclean' would have to delete './inc' (and the author
shouldn't add that directory to their VCS). Alternatively, the only time that
the custom './inc' folder was created was in response to 'make dist' and 'make
disttest' then you would still be good to go.
In this case, the presence of files in './inc' would be the switch between
author and user mode, and you'd have a
BEGIN { use lib './inc'; }
line in the sitribution files, right? Or have you already considered this?
John
--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747