Subject: | Wish list: define an exclusive set of search_dirs |
Hi,
Thanks very much for your work on this! I've got a situation where I'd like to find modules which are only in a certain search path. I can add the dirs to search_dirs, but the issue is that I _don't_ want all of @INC to be searched, because there may at times be some similarly named modules in @INC which I don't want to load. Would you be open to an option which would restrict the search to the supplied search_dirs rather than search_dirs + @INC? To be clear, I'm not asking to change the default behaviour of search_dirs, but to add this additional option.
My use case would be in the Stepford module: https://metacpan.org/source/DROLSKY/Stepford-0.002002/lib/Stepford/Planner.pm#L294
Thanks very much,
Olaf